[Pkg-voip-commits] r9430 - in /asterisk/trunk/debian: asterisk.postinst changelog
tzafrir at alioth.debian.org
tzafrir at alioth.debian.org
Wed Jan 18 13:29:00 UTC 2012
Author: tzafrir
Date: Wed Jan 18 13:28:59 2012
New Revision: 9430
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9430
Log:
Quote pathes in postinst script: Closes: #656208 (Pocos).
Modified:
asterisk/trunk/debian/asterisk.postinst
asterisk/trunk/debian/changelog
Modified: asterisk/trunk/debian/asterisk.postinst
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/asterisk.postinst?rev=9430&op=diff
==============================================================================
--- asterisk/trunk/debian/asterisk.postinst (original)
+++ asterisk/trunk/debian/asterisk.postinst Wed Jan 18 13:28:59 2012
@@ -37,7 +37,7 @@
/var/lib/asterisk \
-type d | while read dir; do
if ! dpkg-statoverride --list "$dir" > /dev/null ; then
- chown asterisk: $dir
+ chown asterisk: "$dir"
fi
done
@@ -54,7 +54,7 @@
find /var/spool/asterisk -type d | while read dir; do
if ! dpkg-statoverride --list "$dir" > /dev/null ; then
chown asterisk: $dir
- chmod 750 $dir
+ chmod 750 "$dir"
fi
done
@@ -80,7 +80,7 @@
dpkg-query -W -f='${Conffiles}\n' $ASTERISK_CONFIG 2>/dev/null | \
sed -nr -e 's; (/etc/asterisk/.*) [0-9a-f]*;\1;p' | \
while read conffile; do
- chown asterisk: $conffile 2>/dev/null
+ chown asterisk: "$conffile" 2>/dev/null
done
# handle them in the end with a glob since it's way faster
Modified: asterisk/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/changelog?rev=9430&op=diff
==============================================================================
--- asterisk/trunk/debian/changelog (original)
+++ asterisk/trunk/debian/changelog Wed Jan 18 13:28:59 2012
@@ -16,8 +16,9 @@
- Break older versions, as it did not have a versioned Depends before.
- Remove the package.
* Update watch file to only check for 1.8.x tarballs.
-
- -- Tzafrir Cohen <tzafrir at debian.org> Sun, 18 Dec 2011 00:50:02 +0200
+ * Quote pathes in postinst script: Closes: #656208 (Pocos).
+
+ -- Tzafrir Cohen <tzafrir at debian.org> Wed, 18 Jan 2012 15:26:34 +0200
asterisk (1:1.8.7.1~dfsg-2) unstable; urgency=low
More information about the Pkg-voip-commits
mailing list