slackbuilds_ponce/network/mod_perl/doinst.sh
2010-05-12 23:32:28 +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