slackbuilds_ponce/network/mod_perl/doinst.sh
Heinz Wiesinger 05bc19a05f network/mod_perl: Updated for version 2.0.5.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2011-09-05 13:42:35 -05:00

6 lines
276 B
Bash

if [ ! -r etc/httpd/extra/mod_perl.conf ]; then
cat etc/httpd/extra/mod_perl.conf.example > etc/httpd/extra/mod_perl.conf
elif [ "$(cat etc/httpd/extra/mod_perl.conf 2> /dev/null)" = "" ]; then
cat etc/httpd/extra/mod_perl.conf.example > etc/httpd/extra/mod_perl.conf
fi