summaryrefslogtreecommitdiff
path: root/perl/mod_perl/doinst.sh
blob: 1133274bea838f61c9ae1725bfea9a3b48debe1b (plain)
1
2
3
4
5
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