[Pkg-voip-commits] r4202 - asterisk/trunk/debian

paravoid at alioth.debian.org paravoid at alioth.debian.org
Wed Aug 22 15:52:36 UTC 2007


Author: paravoid
Date: 2007-08-22 15:52:35 +0000 (Wed, 22 Aug 2007)
New Revision: 4202

Modified:
   asterisk/trunk/debian/asterisk.postinst
   asterisk/trunk/debian/changelog
Log:
Honor dpkg-statoverride for files under /etc/asterisk too

Modified: asterisk/trunk/debian/asterisk.postinst
===================================================================
--- asterisk/trunk/debian/asterisk.postinst	2007-08-22 15:50:36 UTC (rev 4201)
+++ asterisk/trunk/debian/asterisk.postinst	2007-08-22 15:52:35 UTC (rev 4202)
@@ -73,7 +73,9 @@
 	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
+		if ! dpkg-statoverride --list "$conffile" > /dev/null ; then
+			chown asterisk: $conffile 2>/dev/null
+		fi
 	done
 
 	set -e

Modified: asterisk/trunk/debian/changelog
===================================================================
--- asterisk/trunk/debian/changelog	2007-08-22 15:50:36 UTC (rev 4201)
+++ asterisk/trunk/debian/changelog	2007-08-22 15:52:35 UTC (rev 4202)
@@ -1,11 +1,5 @@
-asterisk (1:1.4.11~dfsg-1) UNRELEASED; urgency=low
+asterisk (1:1.4.11~dfsg-1) unstable; urgency=low
 
-  * NOT RELEASED YET
-    TODO:
-    - Wait response from submitter of #438702.
-    - Heavily test it (bristuff & postinst changes) before uploading even to
-      unstable.
-
   [ Tzafrir Cohen ]
   * Remove libgtk2.0-dev from Build-Depends since the GTK+ console was not
     getting built anyway.




More information about the Pkg-voip-commits mailing list