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

Mark Purcell msp at costa.debian.org
Sun Apr 23 12:00:41 UTC 2006


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
 
     ;;
 

Modified: asterisk/trunk/debian/changelog
===================================================================
--- asterisk/trunk/debian/changelog	2006-04-21 20:47:09 UTC (rev 1642)
+++ asterisk/trunk/debian/changelog	2006-04-23 12:00:40 UTC (rev 1643)
@@ -7,8 +7,15 @@
   * Urgency bumped since 1.2.7 is a security update [CVE-2006-1827]
     (Closes: #364195)
 
- -- Kilian Krause <kilian at debian.org>  Fri, 21 Apr 2006 22:41:40 +0200
+  [ Mark Purcell ]
+  * Fixes:
+    - cannot install - directories not created (Closes: #360233)
+    - package uninstallable (Closes: #359970)
+    - fails to upgrade when /etc/asterisk/voicemail.conf is deleted
+    (Closes: #360220)
 
+ -- Mark Purcell <msp at debian.org>  Sun, 23 Apr 2006 12:39:38 +0100
+
 asterisk (1:1.2.7.1.dfsg-1) unstable; urgency=low
 
   [ Tzafrir Cohen ]




More information about the Pkg-voip-commits mailing list