slackbuilds_ponce/network/mod_perl/doinst.sh

7 lines
240 B
Bash
Raw Normal View History

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