---------- Forwarded message ----------
From: Dave Steele <[email protected]>
Date: Sun, Nov 6, 2011 at 3:40 PM
Subject: Re: question about your patch
To: Holger Levsen <[email protected]>


On Sun, Nov 6, 2011 at 3:12 PM, Holger Levsen <[email protected]> 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



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to