1 |
On 2011-1-15 2:05 AM, "Alan Hourihane" <alanh@×××××××××××.uk> wrote: |
2 |
> Is there a way to run a script after an emerge --sync operation ? |
3 |
|
4 |
|
5 |
If you merge app-portage/portage-utils, you are supposed to be able to |
6 |
place scripts in ROOT/etc/portage/postsync.d/ that will get run. |
7 |
|
8 |
However, the script that I have in my ROOT/etc/portage/bin/post_sync has a |
9 |
hardcoded "/etc/portage/postsync.d/" instead of one based on my root. It |
10 |
looks like we'll have to fix that. I manually edited the post_sync script |
11 |
to point it to the proper ROOTed location, and the scripts ran after my |
12 |
most recent sync. |
13 |
|
14 |
Some notes can be found at <http://en.gentoo-wiki.com/wiki/Postsync.d>. |
15 |
|
16 |
-- |
17 |
Christopher Warrington <chris@×××××.net> |