aboutsummaryrefslogtreecommitdiff
path: root/development/mod_perl/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <HMWiesinger@gmx.at>2010-05-11 20:00:26 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 20:00:26 +0200
commitdef24fc089011e4ffc02965a58dc1abeeef7a98f (patch)
treecf0a3c2b1116aae0bdb454f7c6223328b674d406 /development/mod_perl/doinst.sh
parent2eebab9920494e3172b3b8ce83089ec361296ee3 (diff)
development/mod_perl: Added to 12.0 repository
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 0000000000000..240c95761ec63
--- /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