X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=postinstall;h=da3f9ecb678e143e108cfbe3717e90b3df7c0fa5;hp=1808dee2c038b137e4d370a6f2499cac11ad84df;hb=d424d236e19ce0343f3ea070d0f004f7ef98f551;hpb=1538f647c5485e0c00118b92792615c225b4ce9c diff --git a/postinstall b/postinstall index 1808dee..da3f9ec 100644 --- a/postinstall +++ b/postinstall @@ -2,15 +2,15 @@ cd ${CLIENT_BASEDIR}/share/xml/opensaml -sed "s|uri=\".*${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}|1" saml10-catalog.xml > catalog.xml.tmp +sed "s|uri=\".*/share/xml/opensaml/\(.*\)\"|uri=\"${CLIENT_BASEDIR}/share/xml/opensaml/\1\"|1" saml10-catalog.xml > catalog.xml.tmp mv catalog.xml.tmp saml10-catalog.xml chmod 644 saml10-catalog.xml -sed "s|uri=\".*${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}|1" saml11-catalog.xml > catalog.xml.tmp +sed "s|uri=\".*/share/xml/opensaml/\(.*\)\"|uri=\"${CLIENT_BASEDIR}/share/xml/opensaml/\1\"|1" saml11-catalog.xml > catalog.xml.tmp mv catalog.xml.tmp saml11-catalog.xml chmod 644 saml11-catalog.xml -sed "s|uri=\".*${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}|1" saml20-catalog.xml > catalog.xml.tmp +sed "s|uri=\".*/share/xml/opensaml/\(.*\)\"|uri=\"${CLIENT_BASEDIR}/share/xml/opensaml/\1\"|1" saml20-catalog.xml > catalog.xml.tmp mv catalog.xml.tmp saml20-catalog.xml chmod 644 saml20-catalog.xml