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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Apr 24 07:24:50 UTC 2006


On Sun, Apr 23, 2006 at 12:00:41PM +0000, Mark Purcell wrote:
> Author: msp
> Date: 2006-04-23 12:00:40 +0000 (Sun, 23 Apr 2006)
> New Revision: 1643
> 
> Modified:
>    asterisk/trunk/debian/asterisk-config.postinst
>    asterisk/trunk/debian/changelog
> Log:
> * Fixes:
>   - cannot install - directories not created (Closes: #360233)
>   - package uninstallable (Closes: #359970)
>   - fails to upgrade when /etc/asterisk/voicemail.conf is deleted
>   (Closes: #360220)
> 
> Modified: asterisk/trunk/debian/asterisk-config.postinst
> ===================================================================
> --- asterisk/trunk/debian/asterisk-config.postinst	2006-04-21 20:47:09 UTC (rev 1642)
> +++ asterisk/trunk/debian/asterisk-config.postinst	2006-04-23 12:00:40 UTC (rev 1643)
> @@ -36,8 +36,8 @@
>  	chmod 0660 /etc/asterisk/*.conf
>  
>  	# doing web-vmail foo...
> -	chown asterisk:www-data /etc/asterisk/voicemail.conf
> -	chmod 0640 /etc/asterisk/voicemail.conf
> +	[ -f /etc/asterisk/voicemail.conf ] && chown asterisk:www-data /etc/asterisk/voicemail.conf
> +	[ -f /etc/asterisk/voicemail.conf ] && chmod 0640 /etc/asterisk/voicemail.conf

What about others in the group asterisk? Don't they need to write to the
file voicemail.conf?

Specifically: destar?

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the Pkg-voip-maintainers mailing list