File: postinstall

package info (click to toggle)
opensaml2 2.3-2%2Bsqueeze2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 7,012 kB
  • ctags: 5,093
  • sloc: cpp: 25,228; xml: 19,601; sh: 8,618; ansic: 5,309; makefile: 461
file content (17 lines) | stat: -rw-r--r-- 659 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

cd ${CLIENT_BASEDIR}/share/xml/opensaml

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=\".*/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=\".*/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

exit 0