[SCM] Debian packaging for the 2.0 Apache Shibboleth SP branch, squeeze, updated. upstream/2.3.1+dfsg-160-g9c2bdf4

Ferenc Wagner wferi at niif.hu
Mon Nov 22 21:19:27 UTC 2010


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