view deploy/provision.d/090-perl-auth-module.sh @ 1621:3a510bf6a9bc

Merge from live branch
author Chris Cannam
date Fri, 13 Jul 2018 10:44:33 +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