tags 559153 + patch
tags 559153 + pending
thanks

Dear maintainer,

I've prepared an NMU for mindi (versioned as 1:2.0.4-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
diff -u mindi-2.0.4/debian/changelog mindi-2.0.4/debian/changelog
--- mindi-2.0.4/debian/changelog
+++ mindi-2.0.4/debian/changelog
@@ -1,3 +1,11 @@
+mindi (1:2.0.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Enhance the postrm maintainer script to only remove the files in
+    /usr/lib/mindi/ on purge. (Closes: #559153)
+
+ -- Didier Raboud <did...@raboud.com>  Sun, 28 Nov 2010 14:31:17 +0100
+
 mindi (1:2.0.4-1) unstable; urgency=high
 
   * New upstream release.
diff -u mindi-2.0.4/debian/postrm mindi-2.0.4/debian/postrm
--- mindi-2.0.4/debian/postrm
+++ mindi-2.0.4/debian/postrm
@@ -7,9 +7,16 @@
 
 MINDI_LIB=/usr/lib/mindi
 
-# Remove configuration files for isolinux and syslinux that are included in
-# upstream but generated on the fly in the Debian package
-( cd $MINDI_LIB && rm -f isolinux-H.cfg isolinux.cfg syslinux-H.cfg 
syslinux.cfg )
+if [ "$1" = purge ] ; then
+
+    # Remove configuration files for isolinux and syslinux that are included in
+    # upstream but generated on the fly in the Debian package
+    rm -f $MINDI_LIB/isolinux-H.cfg
+    rm -f $MINDI_LIB/isolinux.cfg
+    rm -f $MINDI_LIB/syslinux.cfg
+    rm -f $MINDI_LIB/syslinux-H.cfg
+
+fi
 
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to