Register smart builder for the ECP RelayState header block.
[shibboleth/cpp-opensaml.git] / postinstall
1 #!/bin/sh
2
3 cd ${CLIENT_BASEDIR}/share/xml/opensaml
4
5 sed "s|uri=\".*/share/xml/opensaml/\(.*\)\"|uri=\"${CLIENT_BASEDIR}/share/xml/opensaml/\1\"|1" saml10-catalog.xml > catalog.xml.tmp
6 mv catalog.xml.tmp saml10-catalog.xml
7 chmod 644 saml10-catalog.xml
8
9 sed "s|uri=\".*/share/xml/opensaml/\(.*\)\"|uri=\"${CLIENT_BASEDIR}/share/xml/opensaml/\1\"|1" saml11-catalog.xml > catalog.xml.tmp
10 mv catalog.xml.tmp saml11-catalog.xml
11 chmod 644 saml11-catalog.xml
12
13 sed "s|uri=\".*/share/xml/opensaml/\(.*\)\"|uri=\"${CLIENT_BASEDIR}/share/xml/opensaml/\1\"|1" saml20-catalog.xml > catalog.xml.tmp
14 mv catalog.xml.tmp saml20-catalog.xml
15 chmod 644 saml20-catalog.xml
16
17 exit 0