[Pkg-voip-commits] r9431 - in /asterisk/branches/squeeze/debian: asterisk.postinst changelog

tzafrir at alioth.debian.org tzafrir at alioth.debian.org
Wed Jan 18 13:35:52 UTC 2012


Author: tzafrir
Date: Wed Jan 18 13:35:51 2012
New Revision: 9431

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9431
Log:
Quote pathes in postinst script: Closes: #656208 (Pocos).

Modified:
    asterisk/branches/squeeze/debian/asterisk.postinst
    asterisk/branches/squeeze/debian/changelog

Modified: asterisk/branches/squeeze/debian/asterisk.postinst
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/branches/squeeze/debian/asterisk.postinst?rev=9431&op=diff
==============================================================================
--- asterisk/branches/squeeze/debian/asterisk.postinst (original)
+++ asterisk/branches/squeeze/debian/asterisk.postinst Wed Jan 18 13:35:51 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 
 	
@@ -53,8 +53,8 @@
 	# spool holds some sensitive information (e.g. monitor, voicemail etc.)
 	find /var/spool/asterisk -type d | while read dir; do
 		if ! dpkg-statoverride --list "$dir" > /dev/null ; then
-			chown asterisk: $dir
-			chmod 750 $dir
+			chown asterisk: "$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/branches/squeeze/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/branches/squeeze/debian/changelog?rev=9431&op=diff
==============================================================================
--- asterisk/branches/squeeze/debian/changelog (original)
+++ asterisk/branches/squeeze/debian/changelog Wed Jan 18 13:35:51 2012
@@ -1,3 +1,10 @@
+asterisk (1:1.6.2.9-2+squeeze5) stable-security; urgency=low
+
+  * UNRELEASED.
+  * Quote pathes in postinst script: Closes: #656208 (Pocos).
+
+ -- Tzafrir Cohen <tzafrir at debian.org>  Wed, 18 Jan 2012 15:34:19 +0200
+
 asterisk (1:1.6.2.9-2+squeeze4) stable-security; urgency=high
 
   [ Kilian Krause ]




More information about the Pkg-voip-commits mailing list