[Pkg-voip-commits] r4170 - asterisk/trunk/debian
paravoid at alioth.debian.org
paravoid at alioth.debian.org
Mon Aug 20 16:01:27 UTC 2007
Author: paravoid
Date: 2007-08-20 16:01:27 +0000 (Mon, 20 Aug 2007)
New Revision: 4170
Modified:
asterisk/trunk/debian/asterisk.postinst
Log:
chown /var/run/asterisk too, in case the user tried to run asterisk without the init script
Modified: asterisk/trunk/debian/asterisk.postinst
===================================================================
--- asterisk/trunk/debian/asterisk.postinst 2007-08-20 15:53:23 UTC (rev 4169)
+++ asterisk/trunk/debian/asterisk.postinst 2007-08-20 16:01:27 UTC (rev 4170)
@@ -32,7 +32,10 @@
# chown asterisk on all $dirs and their subdirectories
# do not harm the files, they should be empty on new installations
# and we don't want to mess-up anything on old installations
- find /var/log/asterisk /var/lib/asterisk -type d | while read dir; do
+ find /var/log/asterisk \
+ /var/lib/asterisk \
+ /var/run/asterisk \
+ -type d | while read dir; do
# honor dpkg-statoverride
if ! dpkg-statoverride --list "$dir" > /dev/null ; then
chown asterisk: $dir
More information about the Pkg-voip-commits
mailing list