[SCM] Debian packaging for the 2.0 Apache Shibboleth SP branch, debian, updated. upstream/2.3.1+dfsg-166-g3e8d830

Russ Allbery rra at debian.org
Mon Nov 29 23:54:44 UTC 2010


The following commit has been merged in the debian branch:
commit 9cfa745dd7f318fedb6d2935a32e5e52aeb4bb58
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