On Friday 27 July 2007, Roy Marples wrote:
> On Fri, 2007-07-27 at 11:14 -0400, Mike Frysinger wrote:
> > On Friday 27 July 2007, Ali Polatel wrote:
> > > Have a look at pkg_setup functions in postfix ebuilds. This can give
> > > you an idea about how to do it properly.
> >
> > that isnt half bad, but still not good.  i'd propose you should actually
> > be doing:
> > /etc/init.d/postgres --quiet status
> > and using that to determine the state of things
>
> Just to note, baselayout-1 is a little wierd like that as in it's not
> exactly quiet if init script dependencies need to be updated.

... which will be fixed

> Also, if the rev-bump relies on a new init script then you're SOL as
> it's not etc-updated.

the check is in pkg_setup, so this isnt an issue ... but this could easily be 
true for any checking after the package is installed
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to