File: postinstall

package info (click to toggle)
shibboleth-sp2 2.0.dfsg1-4%2Blenny2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,292 kB
  • ctags: 2,823
  • sloc: cpp: 23,999; sh: 8,480; makefile: 640; xml: 329; ansic: 34
file content (34 lines) | stat: -rw-r--r-- 660 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/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 \
    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