[Pkg-javascript-commits] [SCM] UNNAMED PROJECT branch, master, updated. 4-2-gde8650f

Daniel Baumann daniel at debian.org
Thu Sep 18 09:13:19 UTC 2008


The following commit has been merged in the master branch:
commit 1d7f653b32162cd17be24db1f494836a707f86e3
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Sep 18 11:11:10 2008 +0200

    Conditionally call wwwconfig-common/restart.sh in postrm script (Closes: #499362).

diff --git a/debian/postrm b/debian/postrm
index 5c448e6..521bb70 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -8,8 +8,11 @@ then
 	restart="apache2"
 fi
 
-servers="apache2"
-. /usr/share/wwwconfig-common/restart.sh
+if [ -e /usr/share/wwwconfig-common/restart.sh ]
+then
+	servers="apache2"
+	. /usr/share/wwwconfig-common/restart.sh
+fi
 
 #DEBHELPER#
 

-- 
UNNAMED PROJECT



More information about the Pkg-javascript-commits mailing list