Gentoo Archives: gentoo-alt

From: Christopher Warrington <chris@×××××.net>
To: "gentoo-alt@l.g.o" <gentoo-alt@l.g.o>
Subject: Re: [gentoo-alt] Run script after emerge --sync ?
Date: Sat, 15 Jan 2011 10:35:38
Message-Id: C956B6A7.1A158%chris@mygcw.net
In Reply to: [gentoo-alt] Run script after emerge --sync ? by Alan Hourihane
On 2011-1-15 2:05 AM, "Alan Hourihane" <alanh@×××××××××××.uk> wrote:
> Is there a way to run a script after an emerge --sync operation ?
If you merge app-portage/portage-utils, you are supposed to be able to place scripts in ROOT/etc/portage/postsync.d/ that will get run. However, the script that I have in my ROOT/etc/portage/bin/post_sync has a hardcoded "/etc/portage/postsync.d/" instead of one based on my root. It looks like we'll have to fix that. I manually edited the post_sync script to point it to the proper ROOTed location, and the scripts ran after my most recent sync. Some notes can be found at <http://en.gentoo-wiki.com/wiki/Postsync.d>. -- Christopher Warrington <chris@×××××.net>

Replies

Subject Author
Re: [gentoo-alt] Run script after emerge --sync ? Jeremy Olexa <darkside@g.o>