[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 af50eb21282816380945d949b0b354f49d2b0674
Author: Russ Allbery <rra at debian.org>
Date:   Mon Nov 29 15:39:25 2010 -0800

    Suppress output from checking whether Apache is running

diff --git a/debian/libapache2-mod-shib2.postinst b/debian/libapache2-mod-shib2.postinst
index 0e4cb1f..09c49d9 100755
--- a/debian/libapache2-mod-shib2.postinst
+++ b/debian/libapache2-mod-shib2.postinst
@@ -34,7 +34,7 @@ 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
-        if invoke-rc.d apache2 status >/dev/null ; then
+        if invoke-rc.d apache2 status >/dev/null 2>&1 ; then
             invoke-rc.d apache2 restart
         fi
     fi

-- 
Debian packaging for the 2.0 Apache Shibboleth SP



More information about the Pkg-shibboleth-devel mailing list