aboutsummaryrefslogtreecommitdiff
path: root/perl/mod_perl/doinst.sh
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-27 10:31:55 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:31 +0700
commit5afe071b987c6706a2a9bf532e9d6f396cea3b95 (patch)
tree34c9558b0e17309859831f73cafd4678988ebd61 /perl/mod_perl/doinst.sh
parent39178a6774cb91198018925efa533a7a9107cd3d (diff)
perl/mod_perl: Added (Perl Interpreter for Apache).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/mod_perl/doinst.sh')
-rw-r--r--perl/mod_perl/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl/mod_perl/doinst.sh b/perl/mod_perl/doinst.sh
new file mode 100644
index 000000000000..1133274bea83
--- /dev/null
+++ b/perl/mod_perl/doinst.sh
@@ -0,0 +1,5 @@
+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