view deploy/provision.d/090-perl-auth-module.sh @ 1609:5486a5848ad8 deploy

Load from deploy-source root, not deployed root (consistent with check in prepare.sh)
author Chris Cannam
date Tue, 29 Aug 2017 11:52:36 +0100
parents 94669513c53c
children
line wrap: on
line source
#!/bin/bash

set -e

# Install the Apache mod_perl module used for hg repo access control

if [ ! -f /usr/local/lib/site_perl/Apache/Authn/SoundSoftware.pm ]; then
    mkdir -p /usr/local/lib/site_perl/Apache/Authn/
    cp /var/www/code/extra/soundsoftware/SoundSoftware.pm \
       /usr/local/lib/site_perl/Apache/Authn/
fi