Bug#681755: Proposed fix

Neil Williams <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <20120722171141.da6b8d04c00e1d5cf2a9448d__15527.9610575692$1342973720$gmane$org@debian.org>
tag 681755 + pending
thanks

Proposed fix, needs a bit of testing.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/
681755.diff (text/x-diff, 1.1 KB)
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 <[email protected]>  Sun, 22 Jul 2012 17:09:33 +0100
+
 dpkg-cross (2.6.6) unstable; urgency=low
 
   * [INTL:da] Danish translation of the debconf templates
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlAMJj0ACgkQiAEJSii8s+NdmACfQPnQ9QmZ8S4GoRJfURFsxV3T
UfMAn2EtS9jK20dyyyEy2oUgTw1LlXVy
=pkyR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.