summaryrefslogtreecommitdiff
path: root/perl/mod_perl/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'perl/mod_perl/doinst.sh')
-rw-r--r--perl/mod_perl/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl/mod_perl/doinst.sh b/perl/mod_perl/doinst.sh
new file mode 100644
index 0000000000..3fafdd7c63
--- /dev/null
+++ b/perl/mod_perl/doinst.sh
@@ -0,0 +1,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
+