[SCM] Debian packaging for the 2.0 Apache Shibboleth SP branch, squeeze, updated. debian/2.3.1+dfsg-3-2-gaf50eb2
Russ Allbery
rra at debian.org
Mon Nov 29 23:49:41 UTC 2010
The following commit has been merged in the squeeze branch:
commit 08d6d74d7a2b3168df3cf5937245a1d5074d2d29
Author: Russ Allbery <rra at debian.org>
Date: Mon Nov 29 14:29:49 2010 -0800
Only restart Apache on package configure if it is running
* Only restart Apache if it is running. Thanks, Mehdi Dogguy, Michael
Biebl, and Ferenc Wagner.
diff --git a/debian/changelog b/debian/changelog
index 9f91c9f..906e6ce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+shibboleth-sp2 (2.3.1+dfsg-4) unstable; urgency=low
+
+ * Only restart Apache if it is running. Thanks, Mehdi Dogguy, Michael
+ Biebl, and Ferenc Wagner.
+
+ -- Russ Allbery <rra at debian.org> Mon, 29 Nov 2010 14:29:42 -0800
+
shibboleth-sp2 (2.3.1+dfsg-3) unstable; urgency=low
[ Ferenc Wagner ]
diff --git a/debian/libapache2-mod-shib2.postinst b/debian/libapache2-mod-shib2.postinst
index fcc1b5c..0e4cb1f 100755
--- a/debian/libapache2-mod-shib2.postinst
+++ b/debian/libapache2-mod-shib2.postinst
@@ -34,7 +34,9 @@ if [ "$1" = "configure" ] ; then
# The new shibd (which is about to be started) requires the corresponding
# Apache module, otherwise strange, hard to debug error messages result.
if [ -f /etc/apache2/mods-enabled/shib2.load ] ; then
- invoke-rc.d apache2 restart
+ if invoke-rc.d apache2 status >/dev/null ; then
+ invoke-rc.d apache2 restart
+ fi
fi
fi
--
Debian packaging for the 2.0 Apache Shibboleth SP
More information about the Pkg-shibboleth-devel
mailing list