Bug#527899: removal of package fails
On Wed, Jun 03, 2009 at 08:59:09AM +0200, Raphael Hertzog wrote:
> On Tue, 02 Jun 2009, Chris Taylor wrote:
> > This patch fixes the removal bug in sqlrelay. It simply removes all
> > sqlrelay files and the directory from /etc.
> >
> > -Chris
> >
> > --- a/debian/sqlrelay.postrm
> > +++ b/debian/sqlrelay.postrm
> > @@ -19,7 +19,7 @@ set -e
> > case "$1" in
> > remove|purge)
> > rm -Rf /var/cache/sqlrelay
> > - rm -f /etc/sqlrelay*
> > + rm -rf /etc/sqlrelay*
> > ;;
>
> Removing configuration files on remove (instead of purge only) is a mistake
> too...
>
> Cheers,
> --
> Raphaël Hertzog
>
Oops, that was actually a typo, I meant to make it on purge only in the patch.
-Chris
Reply to: