Fix could be:
--- alsa-base.preinst_1.0.25+2 2012-05-20 15:06:49.000000000 +0200
+++ alsa-base.preinst 2012-06-21 22:07:17.000000000 +0200
@@ -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#
Regards, Helmar.
--- alsa-base.preinst_1.0.25+2 2012-05-20 15:06:49.000000000 +0200
+++ alsa-base.preinst 2012-06-21 22:07:17.000000000 +0200
@@ -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#