summaryrefslogtreecommitdiff
path: root/perl/mod_perl/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2012-05-06 16:20:53 -0400
committerErik Hanson <erik@slackbuilds.org>2012-05-07 12:18:11 -0500
commit045ffdda52b0eab7b027ef5774856a35416d160b (patch)
tree4160a7239de603d1dd823f04797af288035725bf /perl/mod_perl/doinst.sh
parent16ccf9600c094f95f56181628bfa7b2ce932253b (diff)
downloadslackbuilds-045ffdda52b0eab7b027ef5774856a35416d160b.tar.gz
perl/mod_perl: Updated for version 2.0.6 moved from network.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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
+