changeset 466:e769484a87c3 noffle

[svn] fixed removal of old config dir
author godisch
date Sat, 26 Jul 2003 08:37:07 +0100
parents b8065ab36244
children 69d28be06362
files debian/changelog debian/postrm
diffstat 2 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/debian/changelog	Sat Jul 26 08:32:29 2003 +0100
+++ b/debian/changelog	Sat Jul 26 08:37:07 2003 +0100
@@ -2,11 +2,14 @@
 
   * Simplified ucf handling, reverted changes from 1.1.5-2 which are now
     in ucf 0.17, see bug #199233, adjusted ucf dependency.
-  * Added Spanish debconf translation, thanks to Carlos Alberto Martín Edo.
+  * Fixed config file removal on --purge.
+  * Added Spanish debconf translation, closes: #201544.
+    Thanks to Carlos Alberto Martín Edo.
+  * Added -D/-q manual note, closes: #202922.
   * Converted debian/changelog to UTF-8.
   * Updated standards version.
 
- -- Martin A. Godisch <godisch@debian.org>  Wed, 16 Jul 2003 14:15:20 +0200
+ -- Martin A. Godisch <godisch@debian.org>  Sat, 26 Jul 2003 09:35:23 +0200
 
 noffle (1.1.5-2) unstable; urgency=low
 
--- a/debian/postrm	Sat Jul 26 08:32:29 2003 +0100
+++ b/debian/postrm	Sat Jul 26 08:37:07 2003 +0100
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: postrm 599 2003-06-25 17:00:10Z godisch $
+# $Id: postrm 611 2003-07-26 07:37:07Z godisch $
 
 set -e
 
@@ -14,13 +14,14 @@
 	rm -f /etc/noffle.conf /etc/noffle.conf.old \
 		/etc/news/noffle.conf /etc/news/noffle.conf.old /etc/news/noffle.conf.dpkg-* \
 		/etc/default/noffle /etc/default/noffle.old /etc/default/noffle.dpkg-*
-	rm -rf /etc/news/noffle.old /etc/noffle /var/spool/noffle
 	if [ -e /usr/share/debconf/confmodule ]; then
 		. /usr/share/debconf/confmodule
 		db_purge
 	fi
 	ucf --purge /etc/default/noffle < /dev/tty
 	ucf --purge /etc/news/noffle.conf < /dev/tty
+	rmdir --ignore-fail-on-non-empty /etc/news/noffle /etc/news/noffle.old
+	rm -rf /var/spool/noffle
 fi
 
 exit 0