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

David B Harris dbharris-guest@quantz.debian.org
Sat, 28 Feb 2004 20:37:29 +0100


    Date: Saturday, February 28, 2004 @ 20:37:29
  Author: dbharris-guest
    Path: /cvsroot/pkg-alsa/debian/alsa-driver/debian

Modified: alsa-base.postrm

Also remove /etc/defaults/alsa.debconf-backup on purge


------------------+
 alsa-base.postrm |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)


Index: debian/alsa-driver/debian/alsa-base.postrm
diff -u debian/alsa-driver/debian/alsa-base.postrm:1.6 debian/alsa-driver/debian/alsa-base.postrm:1.7
--- debian/alsa-driver/debian/alsa-base.postrm:1.6	Sat Feb 28 20:31:30 2004
+++ debian/alsa-driver/debian/alsa-base.postrm	Sat Feb 28 20:37:28 2004
@@ -20,10 +20,13 @@
 	if [ -f /etc/default/alsa ]; then
 		rm -f /etc/default/alsa
 	fi
+	if [ -f /etc/defaults/alsa.debconf-backup ]; then
+		rm -f /etc/defaults/alsa.debconf-backup
+	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 \
 	    /etc/modprobe.d/alsa /etc/modutils/alsa; do
-	    [ -e "$file" ] && rm -f "$file"
+		[ -e "$file" ] && rm -f "$file"
 	done
 fi