view deploy/provision.d/090-perl-auth-module.sh @ 1615:be8eb1d8201b live

Lock this gem
author Chris Cannam
date Tue, 05 Sep 2017 12:49:49 +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