Mercurial > hg > soundsoftware-site
comparison deploy/provision.d/090-perl-auth-module.sh @ 1589:94669513c53c dockerise
Docs etc
author | Chris Cannam |
---|---|
date | Thu, 17 Aug 2017 13:56:15 +0100 |
parents | d8949733849d |
children |
comparison
equal
deleted
inserted
replaced
1588:9149f2098413 | 1589:94669513c53c |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 set -e | 3 set -e |
4 | 4 |
5 # Install the Apache mod_perl module used for hg repo access control | |
6 | |
5 if [ ! -f /usr/local/lib/site_perl/Apache/Authn/SoundSoftware.pm ]; then | 7 if [ ! -f /usr/local/lib/site_perl/Apache/Authn/SoundSoftware.pm ]; then |
6 mkdir -p /usr/local/lib/site_perl/Apache/Authn/ | 8 mkdir -p /usr/local/lib/site_perl/Apache/Authn/ |
7 cp /var/www/code/extra/soundsoftware/SoundSoftware.pm /usr/local/lib/site_perl/Apache/Authn/ | 9 cp /var/www/code/extra/soundsoftware/SoundSoftware.pm \ |
10 /usr/local/lib/site_perl/Apache/Authn/ | |
8 fi | 11 fi |
9 | 12 |