Bug#647473: Fwd: question about your patch
---------- Forwarded message ----------
From: Dave Steele <dsteele@gmail.com>
Date: Sun, Nov 6, 2011 at 3:40 PM
Subject: Re: question about your patch
To: Holger Levsen <holger@layer-acht.org>
On Sun, Nov 6, 2011 at 3:12 PM, Holger Levsen <holger@layer-acht.org> wrote:
>
> configuration files should only be removed on purge.
>
>
Ah, I've been bitten by an rpm-ism. Is this right?
--- sgml-data-2.0.6.orig/debian/postrm 2011-11-02 22:14:48.124000413 -0400
+++ sgml-data-2.0.7/debian/postrm 2011-11-06 15:26:05.032000030 -0500
@@ -4,6 +4,8 @@
if [ "$1" = "purge" ]
then
+ rm -f /etc/xml/sgml-data.xml* || :
+ rm -f /etc/sgml/sgml-data* || :
rmdir -p --ignore-fail-on-non-empty /etc/sgml
rmdir -p --ignore-fail-on-non-empty /etc/xml
fi
Reply to: