r9816 - /trunk/libxml-sax-perl/debian/libxml-sax-perl.postrm

ntyni-guest at users.alioth.debian.org ntyni-guest at users.alioth.debian.org
Tue Nov 27 18:57:29 UTC 2007


Author: ntyni-guest
Date: Tue Nov 27 18:57:29 2007
New Revision: 9816

URL: http://svn.debian.org/wsvn/?sc=1&rev=9816
Log:
fix purge actions

Modified:
    trunk/libxml-sax-perl/debian/libxml-sax-perl.postrm

Modified: trunk/libxml-sax-perl/debian/libxml-sax-perl.postrm
URL: http://svn.debian.org/wsvn/trunk/libxml-sax-perl/debian/libxml-sax-perl.postrm?rev=9816&op=diff
==============================================================================
--- trunk/libxml-sax-perl/debian/libxml-sax-perl.postrm (original)
+++ trunk/libxml-sax-perl/debian/libxml-sax-perl.postrm Tue Nov 27 18:57:29 2007
@@ -10,8 +10,11 @@
 if [ "$1" = purge ]
 then
     rm -f /etc/perl/XML/SAX/ParserDetails.ini
-    cd /etc/perl && \
-	rmdir --parents --ignore-fail-on-non-empty XML/SAX/ParserDetails.d
+	rm -r /var/lib/libxml-sax-perl
+    if which ucf >/dev/null 2>&1
+    then
+        ucf --purge /etc/perl/XML/SAX/ParserDetails.ini
+    fi
     if which ucfr >/dev/null 2>&1
     then
         ucfr --purge libxml-sax-perl /etc/perl/XML/SAX/ParserDetails.ini




More information about the Pkg-perl-cvs-commits mailing list