Rework XML directory substitutions to handle xmltooling/opensaml in alternate locations.
[shibboleth/sp.git] / postinstall
1 #!/bin/sh\r
2 \r
3 cd /opt/shibboleth-sp/etc/shibboleth\r
4 \r
5 CONFIGFILES=" \\r
6     native.logger \\r
7     shibd.logger \\r
8     syslog.logger \\r
9     console.logger \\r
10     accessError.html \\r
11     sessionError.html \\r
12     metadataError.html \\r
13     sslError.html \\r
14     bindingTemplate.html \\r
15     localLogout.html \\r
16     globalLogout.html \\r
17     sp-example.key \\r
18     sp-example.crt \\r
19     attribute-map.xml \\r
20     attribute-policy.xml \\r
21     shibboleth2.xml \\r
22     example-metadata.xml"\r
23 \r
24 for f in $CONFIGFILES; do\r
25     if test ! -f $f; then\r
26         cp $f.dist $f\r
27     fi;\r
28     done\r
29 \r
30 exit 0\r