X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=postinstall;h=1808dee2c038b137e4d370a6f2499cac11ad84df;hp=49b5f30946aa140849efe15f1dbba0883660a5d8;hb=48c49053e02d1000ba757bf290104d280e9c8b86;hpb=b935d790431cfaf218446c1f3b42272ffdda5f5c diff --git a/postinstall b/postinstall index 49b5f30..1808dee 100644 --- a/postinstall +++ b/postinstall @@ -1,17 +1,17 @@ -#!/bin/sh - -cd ${CLIENT_BASEDIR}/share/xml/opensaml - -sed "s|uri=\".*${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}|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 -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 -mv catalog.xml.tmp saml20-catalog.xml -chmod 644 saml20-catalog.xml - -exit 0 +#!/bin/sh + +cd ${CLIENT_BASEDIR}/share/xml/opensaml + +sed "s|uri=\".*${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}|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 +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 +mv catalog.xml.tmp saml20-catalog.xml +chmod 644 saml20-catalog.xml + +exit 0