view deploy/provision.d/090-perl-auth-module.sh @ 1603:455ca6e45c49 deploy

Directory fix
author Chris Cannam
date Thu, 24 Aug 2017 14:46:03 +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