[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg can't purge init script



On Wed, Aug 22, 2001 at 10:28:42PM +0100, Andrew Suffield wrote:
> > curitiba_POTATO:/# dpkg --purge superviser-server
...
> > curitiba_POTATO:/# ls -l /etc/init.d/superviser-server
...
> > # Automatically added by dh_installinit
> > /etc/init.d/superviser-server stop
...

> Yes actually, it should be guarded with a -e:
> if [ -e "/etc/init.d/superviser-ircd" ]; then
> 	/etc/init.d/superviser-ircd stop
> fi

dancer on the mind asuffield? :>

Mike.
-- 

                      Michael Beattie (mike@ethernal.org)

 -----------------------------------------------------------------------------
       "This isnt Mission Difficult Mr Hunt, this is Mission Impossible.
          Difficult should be a walk in the park for you."  -- MI:2
 -----------------------------------------------------------------------------
                Debian GNU/Linux....  Ooohh You are missing out!



Reply to: