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