Bug#527899: removal of package fails
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
Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny :
http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/
Reply to: