[SCM] jack-audio-connection-kit/master: Sync jackd1.postrm with jackd2's version
adiknoth-guest at users.alioth.debian.org
adiknoth-guest at users.alioth.debian.org
Sat Jun 22 09:59:13 UTC 2013
The following commit has been merged in the master branch:
commit 334b22f3ced0f96b4aff7617eae3bffdfe6502b0
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date: Sat Jun 22 11:57:43 2013 +0200
Sync jackd1.postrm with jackd2's version
For an explanation of all changes, please refer to jackd2's git repo.
diff --git a/debian/jackd1.postrm b/debian/jackd1.postrm
index 4151d94..a1d92dc 100644
--- a/debian/jackd1.postrm
+++ b/debian/jackd1.postrm
@@ -1,25 +1,22 @@
-#!/bin/sh -e
-#
-#
+#!/bin/sh
+
+set -e
+
CONFIG_FILE=/etc/security/limits.d/audio.conf
-if [ "$1" = "purge" ]
-then
- for conffile in ${CONFIG_FILE} ${CONFIG_FILE}.disabled
- do
- if [ -e ${conffile} ]
- then
- rm ${conffile}
- fi
- done
+if [ "$1" = "purge" ]; then
+ 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 ]
- then
- # Source debconf library.
- . /usr/share/debconf/confmodule
- db_purge
- fi
+ # if we still have debconf, also remove our entries from the DB
+ if [ -e /usr/share/debconf/confmodule ]; then
+ # Source debconf library.
+ . /usr/share/debconf/confmodule
+ db_purge
+ fi
fi
#DEBHELPER#
--
Debian packaging for jack-audio-connection-kit
More information about the pkg-multimedia-commits
mailing list