[Pkg-alsa-devel] [Debian ALSA CVS] debian/alsa-driver/debian (alsa-base.postrm changelog)

David B Harris dbharris-guest@quantz.debian.org
Sat, 28 Feb 2004 18:52:58 +0100


    Date: Saturday, February 28, 2004 @ 18:52:58
  Author: dbharris-guest
    Path: /cvsroot/pkg-alsa/debian/alsa-driver/debian

Modified: alsa-base.postrm changelog

Remove known conffiles from /etc/alsa/modutils/ on purge


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


Index: debian/alsa-driver/debian/alsa-base.postrm
diff -u debian/alsa-driver/debian/alsa-base.postrm:1.4 debian/alsa-driver/debian/alsa-base.postrm:1.5
--- debian/alsa-driver/debian/alsa-base.postrm:1.4	Mon May 12 12:09:38 2003
+++ debian/alsa-driver/debian/alsa-base.postrm	Sat Feb 28 18:52:57 2004
@@ -11,7 +11,7 @@
 	if [ -d /etc/sound ]; then 
 		rmdir /etc/sound 2> /dev/null || true
 	fi
-    if [ -x /usr/sbin/update-devfsd ]; then
+	if [ -x /usr/sbin/update-devfsd ]; then
 		/usr/sbin/update-devfsd >&2
 	fi
 	if [ -f /etc/alsa/alsa-base.conf ]; then
@@ -20,6 +20,10 @@
 	if [ -f /etc/default/alsa ]; then
 		rm -f /etc/default/alsa
 	fi
+	for file in /etc/alsa/modutils/1.0 /etc/alsa/modutils/0.9 \
+	    /etc/alsa/modutils/1.0.debconf-backup /etc/alsa/modutils/0.9.debconf-backup; do
+	    [ -f "$file" ] && rm -f "$file"
+	done
 fi
 
 #DEBHELPER#
Index: debian/alsa-driver/debian/changelog
diff -u debian/alsa-driver/debian/changelog:1.215 debian/alsa-driver/debian/changelog:1.216
--- debian/alsa-driver/debian/changelog:1.215	Sat Feb 28 18:52:14 2004
+++ debian/alsa-driver/debian/changelog	Sat Feb 28 18:52:57 2004
@@ -28,6 +28,8 @@
         modutils-1.0.conf
       + debian/alsa-base.postinst: Migrate /etc/alsa/modutils/0.9 to
         /etc/alsa/modutils/1.0, if the latter doesn't exist.
+      + debian/alsa-base.postrm: Remove known conffiles from
+        /etc/alsa/modutils/ on purge
       + debian/alsa-base.README.Debian: Update
       + debian/alsa-source.README.Debian: Update
   * Unreleased.