Steve Langasek <[EMAIL PROTECTED]> wrote:

> On Tue, Nov 14, 2006 at 12:21:42PM -0500, Peter S Galbraith wrote:
> > > During the "postrm purge" call dependancies for xtide are not
> installed
> > > anymore. Your postrm script doesn't make any difference between
> "remove"
> > > and "purge", which is obviously wrong.
> 
> > Thanks.  I was looking at the wrong place.  The bug was introduced by
> me
> > with the last upload addressing bug #367769.  The xtide-data.postrm
> > script needs to be wrapped with
> 
> > if test -f /etc/init.d/xttpd; then
> >    [new but broken script here]
> > fi
> 
> That will probably work, but it's not right.  Why would you ever be
> calling the init script on postrm purge?  The right fix, as Lucas
> said, is to distinguish postrm remove from postrm purge.

I would like to call the xtide init script on xtide-data purge or
removal such that xtide reinitializes itself to the available data.

The fact that xtide may not be installed is the special case to watch
out for, and the reason for the bug.

Peter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to