Re: Guidelines are wrong?
Erick Branderhorst writes ("Guidelines are wrong?"):
> Hi Developers,
> In the guidelines the following is suggested:
> if [ $1 = "purge" ]
> update-rc.d <package> remove > /dev/null
> However when invoking a postrm script with these lines it without the
> option purge on the command line an error is reported.
Packages' postrm scripts aren't invoked by dpkg without arguments.
You must have invoked it by hand.
However, I'll change this so the quotes are in the right place.