Edit

IABSD.fr/ports/www/mod_perl/files

Branch :

  • Show log

    Commit

  • Author : brad
    Date : 2002-01-16 03:30:55
    Hash : 9980e543
    Message : - bump NEED_VERSION - rename checksums file

  • mod_perl-enable
  • #!/bin/sh
    #
    # $OpenBSD: mod_perl-enable,v 1.4 2001/08/13 17:16:00 brad Exp $
    
    MODULE=!!PREFIX!!/lib/mod_perl.so
    
    if [ `id -u` -ne 0 ]; then
        echo "You must be root to run this script."
        exit
    fi
    
    if [ ! -f ${MODULE} ]; then
        echo "Cannot find mod_perl module (${MODULE})"
        exit 1
    else
        echo "Enabling Perl module..."
        /usr/sbin/apxs -i -a -n perl ${MODULE}
    fi