Bug#681755: finalised patch

Neil Williams <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <20120725211550.b197dd8e820afc927f3e16b7__25375.4977406517$1343247680$gmane$org@debian.org>
updated patch, uploading tonight.


-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/
681755.diff (text/x-diff, 1.4 KB)
diffstat for dpkg-cross-2.6.6 dpkg-cross-2.6.7

 changelog |    7 +++++++
 postrm    |    6 +++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff -Nru dpkg-cross-2.6.6/debian/changelog dpkg-cross-2.6.7/debian/changelog
--- dpkg-cross-2.6.6/debian/changelog	2012-03-31 17:40:48.000000000 +0100
+++ dpkg-cross-2.6.7/debian/changelog	2012-07-25 20:50:51.000000000 +0100
@@ -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]>  Wed, 25 Jul 2012 20:50:50 +0100
+
 dpkg-cross (2.6.6) unstable; urgency=low
 
   * [INTL:da] Danish translation of the debconf templates
diff -Nru dpkg-cross-2.6.6/debian/postrm dpkg-cross-2.6.7/debian/postrm
--- dpkg-cross-2.6.6/debian/postrm	2011-03-27 07:14:10.000000000 +0100
+++ dpkg-cross-2.6.7/debian/postrm	2012-07-25 20:50:19.000000000 +0100
@@ -22,7 +22,11 @@
     ;;
 
     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
+        rm -rf /etc/dpkg-cross/cross-compile
         if [ "$1" = "purge" ] && [ -e /usr/share/debconf/confmodule ]; then
             # Source debconf library.
             . /usr/share/debconf/confmodule
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJQEFP2AAoJEPFn5DyBQ7aCASgP/3ahOCE9CfrOxKsCaG9FQg19
TLESpOC1b3mlA96c25UQ/wmmt2XJD3l+kugkarjSpSkFVXlBGAomw6SEfhEYd6Bu
JAis8VukbtM9P5nUxuNxCq3zABVx/uJ9zL7xHv8YhsWXAQ66NUcO8SJEVmYv6gu/
Gevs2WwxeGQluyTXSs3uGQ1A9R8DiFO/sWjbdEP/9VuhALgC2W+McYUzweq5x1c2
EGjXKA4gb59i4t1+HedOQj0XTy2m65I0fS1SGA9X+VFT5jOl2cXn6bfimwrj3KZq
t90w91uvYG6MQc5SNjXAWYVWRVSGfKtEtzfsmrRP0w9LwPzuR0GbpufZZ9pFwXil
zP8j+sQKSrE7SpekxQGJzEno5pTG5L+zyCxHzb4oUtW8dMESP3oRoH5+N5rmGDrd
na6Jg5tMPL4MviDj4nJcDPRl4q8Utg9MZPlSRC2SrfqbcghDLXw0Br09gokcbzy2
uYksO7AyESjeeqFPCkbnGseF266B7ehK3tVg+O6LFCK6Wk7Z4my02fK+kSsZLr/V
bUawGo6L0IBMOF1RNnOkmle8JXH7q7f/1ANXpxe6q7tiz+IHkNor/58pRhUHwQes
sNj0+aQ+LwnWiH17pow+Nr7bMMnHzYiQ3/osLtBfZio4LpviKuGu3jFj5qZcazff
RL+i1Euh/+Wfb7P/GRFE
=Symh
-----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.