[SCM] Debian packaging for the 2.0 Apache Shibboleth SP branch, master, updated. debian/2.3.1+dfsg-2-11-gf5f2d61

Russ Allbery rra at debian.org
Wed Mar 9 01:33:36 UTC 2011


The following commit has been merged in the master branch:
commit 646e5008b343c989a7570f4cabebe799341f3e84
Author: Ferenc Wagner <wferi at niif.hu>
Date:   Mon Nov 22 22:17:25 2010 +0100

    Test with -f to ignore a possibly dangling symlink

diff --git a/debian/libapache2-mod-shib2.postinst b/debian/libapache2-mod-shib2.postinst
index 7b9e45f..fcc1b5c 100755
--- a/debian/libapache2-mod-shib2.postinst
+++ b/debian/libapache2-mod-shib2.postinst
@@ -33,7 +33,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 [ -L /etc/apache2/mods-enabled/shib2.load ] ; then
+    if [ -f /etc/apache2/mods-enabled/shib2.load ] ; 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