Bug#527899: removal of package fails
* Raphael Hertzog <hertzog@debian.org> [090603 09:10]:
> 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...
And the amount of what is removed looks extremly suspicious, too. This
really needs to be reduced to actual files, otherwise it will also
remove things like a user-generated /etc/sqlrelay.backup or things like
that....
Hochachtungsvoll,
Bernhard R. Link
Reply to: