X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=postinstall;h=da3f9ecb678e143e108cfbe3717e90b3df7c0fa5;hp=1808dee2c038b137e4d370a6f2499cac11ad84df;hb=c9e0e2dc2e15d2004333db7f135947db13956b5e;hpb=7f74ebc72fe2e2eb525c440900f2655e0dda551a 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