[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-alt
Subject:    Re: [gentoo-alt] Run script after emerge --sync
From:       Jeremy Olexa <darkside () gentoo ! org>
Date:       2011-01-24 16:30:32
Message-ID: 28678875c388455bd8b3bda08ec4d615 () webmail ! jolexa ! net
[Download RAW message or body]

 On Sat, 15 Jan 2011 05:35:10 -0500, Christopher Warrington wrote:
> On 2011-1-15 2:05 AM, "Alan Hourihane" <alanh@fairlite.co.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.

 Fixed without a revbump - you'll need to remerge it. Sorry about the 
 trouble. :)
 -Jeremy
 
> Some notes can be found at 
> <http://en.gentoo-wiki.com/wiki/Postsync.d>.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic