X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=postinstall;h=51374475210f6e9fd9614bcb16ea3151863db672;hb=2bd957b34a0c31ab4fc4baa281689251b233b1fe;hp=0dea084456d18d319a0cf08b7e1f7b4324e46185;hpb=19986e56ba152aaeffed32def6177edd75dbadc7;p=shibboleth%2Fsp.git diff --git a/postinstall b/postinstall index 0dea084..5137447 100644 --- a/postinstall +++ b/postinstall @@ -1,30 +1,30 @@ -#!/bin/sh - -cd /opt/shibboleth-sp/etc/shibboleth - -CONFIGFILES=" \ - native.logger \ - shibd.logger \ - syslog.logger \ - console.logger \ - accessError.html \ - sessionError.html \ - metadataError.html \ - sslError.html \ - bindingTemplate.html \ - localLogout.html \ - globalLogout.html \ - sp-example.key \ - sp-example.crt \ - attribute-map.xml \ - attribute-policy.xml \ - shibboleth2.xml \ - example-metadata.xml" - -for f in $CONFIGFILES; do - if test ! -f $f; then - cp $f.dist $f - fi; - done - -exit 0 +#!/bin/sh + +cd /opt/shibboleth-sp/etc/shibboleth + +CONFIGFILES=" \ + native.logger \ + shibd.logger \ + syslog.logger \ + console.logger \ + accessError.html \ + sessionError.html \ + metadataError.html \ + sslError.html \ + bindingTemplate.html \ + discoveryTemplate.html \ + localLogout.html \ + globalLogout.html \ + attribute-map.xml \ + attribute-policy.xml \ + shibboleth2.xml" + +for f in $CONFIGFILES; do + if test ! -f $f; then + cp $f.dist $f + fi; + done + +sh ./keygen.sh -b + +exit 0