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