[Pkg-voip-commits] r10442 - in /mumble-django/trunk/debian: changelog mumble-django.postinst

svedrin-guest at alioth.debian.org svedrin-guest at alioth.debian.org
Sun Feb 23 09:17:06 UTC 2014


Author: svedrin-guest
Date: Sun Feb 23 09:17:05 2014
New Revision: 10442

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=10442
Log:
Only try to chown/chmod the database file if it actually exists (left over
from a previous installation).
(Closes: #739627)

Modified:
    mumble-django/trunk/debian/changelog
    mumble-django/trunk/debian/mumble-django.postinst

Modified: mumble-django/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/mumble-django/trunk/debian/changelog?rev=10442&op=diff
==============================================================================
--- mumble-django/trunk/debian/changelog	(original)
+++ mumble-django/trunk/debian/changelog	Sun Feb 23 09:17:05 2014
@@ -1,3 +1,11 @@
+mumble-django (2.10-3) UNRELEASED; urgency=medium
+
+  * Only try to chown/chmod the database file if it actually exists (left over
+    from a previous installation).
+    (Closes: #739627)
+
+ -- Michael Ziegler <diese-addy at funzt-halt.net>  Sun, 23 Feb 2014 10:16:12 +0100
+
 mumble-django (2.10-2) unstable; urgency=low
 
   * Update ice34-slice dependency to ice35-slice.

Modified: mumble-django/trunk/debian/mumble-django.postinst
URL: http://svn.debian.org/wsvn/pkg-voip/mumble-django/trunk/debian/mumble-django.postinst?rev=10442&op=diff
==============================================================================
--- mumble-django/trunk/debian/mumble-django.postinst	(original)
+++ mumble-django/trunk/debian/mumble-django.postinst	Sun Feb 23 09:17:05 2014
@@ -14,7 +14,9 @@
 	
 	setperm "/usr/share/mumble-django" 0750
 	setperm "/var/lib/mumble-django"   0750
-	setperm "/var/lib/mumble-django/mumble-django.db3" 0640
+	if [ -e /var/lib/mumble-django/mumble-django.db3 ] ; then
+		setperm "/var/lib/mumble-django/mumble-django.db3" 0640
+	fi
 	
 	if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
 		. /usr/share/apache2/apache2-maintscript-helper




More information about the Pkg-voip-commits mailing list