1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hello Joseph, |
5 |
|
6 |
On Wednesday 22 Sep 2004 20:46, Joseph Booker wrote: |
7 |
> On Wed, September 22, 2004 6:02 am, Elfyn McBratney said: |
8 |
> > [...] |
9 |
> > > > |
10 |
> > What I would like to do is add a new file to /etc/portage - package.hooks |
11 |
> > (open to suggestions on better names ;), which would contain |
12 |
> > category/package |
13 |
> > atoms and shell commands, ala: |
14 |
> > |
15 |
> > [atom] 'before' '(' shell code ')' or |
16 |
> > [atom] 'after' '(' shell code ')' or |
17 |
> > |
18 |
> > e.g. |
19 |
> > |
20 |
> > net-www/apache after apache-update-vhosts |
21 |
> > net-www/apache after (foo && do-bar || die "do-bar failed") |
22 |
> |
23 |
> Could this kind of syntax be added also |
24 |
> net-www/apache after |mail admin@localhost webmaster@localhost -s |
25 |
> "Apache updated by cronjob, just letting you know how it went" |
26 |
> |
27 |
> Basicly, add the ability to pipe it places |
28 |
|
29 |
Once I have something simple and working (abt an hour - patch found in url |
30 |
posted above) I'll give that a go, but should be pisk easy given bash is |
31 |
doing the hard work. ;-) |
32 |
|
33 |
Elfyn |
34 |
|
35 |
- -- |
36 |
Elfyn McBratney |
37 |
beu on irc.freenode.net/savannah.[non]gnu.org |
38 |
|
39 |
PGP Key ID: 0x456548B4 |
40 |
PGP Key Fingerprint: |
41 |
29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 |
42 |
-----BEGIN PGP SIGNATURE----- |
43 |
Version: GnuPG v1.2.4 (GNU/Linux) |
44 |
|
45 |
iD8DBQFBU+8IaIgMKkVlSLQRAqDIAJ9StYTDLyULqz9Qsb3OAx+YNUmLRgCfZo8x |
46 |
BsPtibfYevzaPWGVRnbsrXc= |
47 |
=JaFc |
48 |
-----END PGP SIGNATURE----- |
49 |
|
50 |
-- |
51 |
gentoo-portage-dev@g.o mailing list |