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

Re: prerm failed for scanlogd?



On Thu, Feb 17, 2000 at 02:48:53PM +0100, Michael Vogt wrote:
> # Automatically added by dh_installdocs
> if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/scanlogd ]; then
> 	rm -f /usr/doc/scanlogd
> fi
> # End automatically added section
> # Automatically added by dh_installinit
> /etc/init.d/scanlogd stop
> # End automatically added section
> ---------------------------------8<------------------------------------------
> If there is no prerm, it just uses this one. But this is sh, I use tcsh.
> My solution is to add a prerm file, that has a "#!/bin/sh" on top. 
> What do you think? Is this a bug in debhelper? Or is it documented somewhere?

I don't think that's it -- a script without a #! line will run with
/bin/sh anyway.


Hamish
-- 
Hamish Moffatt VK3SB. CCs of replies on mailing lists are welcome.


Reply to: