X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=postinstall;h=a4d51102e2a1ee126343cc5db9467e083e3b4a6f;hb=b017a723e9616b2cbdc2e87bef46a9a654ea78ca;hp=0dea084456d18d319a0cf08b7e1f7b4324e46185;hpb=19986e56ba152aaeffed32def6177edd75dbadc7;p=shibboleth%2Fsp.git diff --git a/postinstall b/postinstall index 0dea084..a4d5110 100644 --- a/postinstall +++ b/postinstall @@ -1,30 +1,35 @@ -#!/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 \ + partialLogout.html \ + attribute-map.xml \ + attribute-policy.xml \ + example-metadata.xml \ + shibboleth2.xml" + +for f in $CONFIGFILES; do + if test ! -f $f; then + cp $f.dist $f + fi; + done + +PATH=$PATH:/usr/local/bin +LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib +export PATH LD_LIBRARY_PATH +sh ./keygen.sh -b + +exit 0