slackbuilds_ponce/development/mod_perl/doinst.sh
2010-05-11 22:22:39 +02:00

6 lines
240 B
Bash

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