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