Stop freeing credential resolvers twice, when errors occur during initialization.
[shibboleth/cpp-sp.git] / postinstall
1 #!/bin/sh
2
3 cd /opt/shibboleth-sp/etc/shibboleth
4
5 CONFIGFILES=" \
6     native.logger \
7     shibd.logger \
8     shibboleth.logger \
9     accessError.html \
10     rmError.html \
11     sessionError.html \
12     metadataError.html \
13     sslError.html \
14     sp-example.key \
15     sp-example.crt \
16     AAP.xml \
17     shibboleth.xml \
18     example-metadata.xml"
19
20 for f in $CONFIGFILES; do
21     if test ! -f $f; then
22         cp $f.dist $f
23     fi;
24     done
25
26 exit 0