summaryrefslogtreecommitdiff
path: root/network/mod_perl/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <HMWiesinger@gmx.at>2010-05-12 23:32:28 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:32:28 +0200
commitd3791abea05a66db5e1fddedb20afcd74a6010c1 (patch)
tree94e84376130dfb04a19de4097262eee75780f751 /network/mod_perl/doinst.sh
parentb3441ddaad5c4882eb40c4a770807ed59ed0ebdd (diff)
downloadslackbuilds-d3791abea05a66db5e1fddedb20afcd74a6010c1.tar.gz
network/mod_perl: Added to 12.2 repository
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
+