[SCM] jackd2/master: Tidy shell scripts: Avoid sort-of-bashism.
js at users.alioth.debian.org
js at users.alioth.debian.org
Thu Dec 27 11:58:12 UTC 2012
The following commit has been merged in the master branch:
commit 8a7b72a7e15c1a8dc3050fa71d2fd5f297430d05
Author: Jonas Smedegaard <dr at jones.dk>
Date: Thu Dec 27 12:45:57 2012 +0100
Tidy shell scripts: Avoid sort-of-bashism.
diff --git a/debian/jackd2.postinst b/debian/jackd2.postinst
index baf95bb..fb6f5e6 100644
--- a/debian/jackd2.postinst
+++ b/debian/jackd2.postinst
@@ -9,7 +9,7 @@ CONFIG_FILE=/etc/security/limits.d/audio.conf
# if neither $CONFIG_FILE nor ${CONFIG_FILE}.disabled exists,
# let's copy it over from /usr/share/
-if [ ! -s ${CONFIG_FILE} -a ! -s ${CONFIG_FILE}.disabled ]; then
+if [ ! -s ${CONFIG_FILE} ] && [ ! -s ${CONFIG_FILE}.disabled ]; then
cp /usr/share/jackd/audio.conf ${CONFIG_FILE}.disabled
fi
--
jackd2 packaging
More information about the pkg-multimedia-commits
mailing list