[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#681755: Proposed fix



tag 681755 + pending
thanks

Proposed fix, needs a bit of testing.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Index: debian/postrm
===================================================================
--- debian/postrm	(revision 8387)
+++ debian/postrm	(working copy)
@@ -22,7 +22,10 @@
     ;;
 
     purge)
-        rm -rf /etc/dpkg-cross
+        rm -rf /etc/dpkg-cross/cross-config*
+        rm -rf /etc/dpkg-cross/cmake/
+        rm -rf /etc/dpkg-cross/multiarch-cross.d/
+        rm -rf /etc/dpkg-cross/cross-compile.sample
         if [ "$1" = "purge" ] && [ -e /usr/share/debconf/confmodule ]; then
             # Source debconf library.
             . /usr/share/debconf/confmodule
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 8387)
+++ debian/changelog	(working copy)
@@ -1,3 +1,10 @@
+dpkg-cross (2.6.7) unstable; urgency=low
+
+  * Confine the postrm to only removing the config files
+    originally installed by dpkg-cross (Closes: #681755)
+
+ -- Neil Williams <codehelp@debian.org>  Sun, 22 Jul 2012 17:09:33 +0100
+
 dpkg-cross (2.6.6) unstable; urgency=low
 
   * [INTL:da] Danish translation of the debconf templates

Attachment: pgpNgBGX_8UDL.pgp
Description: PGP signature


Reply to: