[SCM] jack-audio-connection-kit/master: Remove audio.conf.disabled upon purge (Closes: #603458)
adiknoth-guest at users.alioth.debian.org
adiknoth-guest at users.alioth.debian.org
Mon Nov 15 15:02:31 UTC 2010
The following commit has been merged in the master branch:
commit ac0843dea3ca11e98848dd835db93eac60df1083
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date: Mon Nov 15 14:48:44 2010 +0100
Remove audio.conf.disabled upon purge (Closes: #603458)
diff --git a/debian/jackd1.postrm b/debian/jackd1.postrm
index 605917c..4151d94 100644
--- a/debian/jackd1.postrm
+++ b/debian/jackd1.postrm
@@ -5,10 +5,13 @@ CONFIG_FILE=/etc/security/limits.d/audio.conf
if [ "$1" = "purge" ]
then
- if [ -e $CONFIG_FILE ]
- then
- rm $CONFIG_FILE
- fi
+ for conffile in ${CONFIG_FILE} ${CONFIG_FILE}.disabled
+ do
+ if [ -e ${conffile} ]
+ then
+ rm ${conffile}
+ fi
+ done
# if we still have debconf, also remove our entries from the DB
if [ -e /usr/share/debconf/confmodule ]
--
Debian packaging for jack-audio-connection-kit
More information about the pkg-multimedia-commits
mailing list