I've tested the patch suggested by Helmar and I'm going to upload an
NMU to close this RC bug as the maintainer has already stated a
willingness for NMU's.

Tue, 19 Jun 2012 21:49:50 +0200
> I'm in the middle of exams, so NMUs are very welcome. Else, expect an
> update next week.
> 
> Jordi

That update didn't happen.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

diffstat for alsa-base-1.0.25+2 alsa-base-1.0.25+2+nmu1

 alsa-base.preinst |    7 +++----
 changelog         |    9 +++++++++
 2 files changed, 12 insertions(+), 4 deletions(-)

diff -Nru alsa-base-1.0.25+2/debian/alsa-base.preinst alsa-base-1.0.25+2+nmu1/debian/alsa-base.preinst
--- alsa-base-1.0.25+2/debian/alsa-base.preinst	2012-05-20 07:06:49.000000000 -0600
+++ alsa-base-1.0.25+2+nmu1/debian/alsa-base.preinst	2012-07-08 15:49:56.000000000 -0600
@@ -7,10 +7,9 @@
 	rm -f \
 		/etc/apm/suspend.d/??alsa \
 		/etc/apm/resume.d/??alsa
-	rmdir --ignore-fail-on-non-empty \
-		/etc/apm/suspend.d \
-		/etc/apm/resume.d \
-		/etc/apm
+	[ -d /etc/apm/suspend.d ] && rmdir --ignore-fail-on-non-empty /etc/apm/suspend.d
+	[ -d /etc/apm/resume.d ]  && rmdir --ignore-fail-on-non-empty /etc/apm/resume.d
+	[ -d /etc/apm ]           && rmdir --ignore-fail-on-non-empty /etc/apm
 fi
 
 #DEBHELPER#
diff -Nru alsa-base-1.0.25+2/debian/changelog alsa-base-1.0.25+2+nmu1/debian/changelog
--- alsa-base-1.0.25+2/debian/changelog	2012-05-20 07:05:55.000000000 -0600
+++ alsa-base-1.0.25+2+nmu1/debian/changelog	2012-07-08 15:51:32.000000000 -0600
@@ -1,3 +1,12 @@
+alsa-base (1.0.25+2+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Apply patch by Helmar Gerloni <hel...@gerloni.net> to
+    test for existence of directories before trying to
+    remove /etc/apm/suspend.d. (Closes: #673679)
+
+ -- Neil Williams <codeh...@debian.org>  Sun, 08 Jul 2012 15:51:24 -0600
+
 alsa-base (1.0.25+2) unstable; urgency=low
 
   * Use dpkg-maintscript-helper to correctly remove /etc/apm/scripts.d/alsa

Attachment: pgp6NU4n4gfgX.pgp
Description: PGP signature

Reply via email to