summaryrefslogtreecommitdiffstats
path: root/network/dokuwiki/doinst.sh
diff options
context:
space:
mode:
author Giorgio Peron2015-09-06 01:50:13 +0200
committer Willy Sudiarto Raharjo2015-09-06 01:50:13 +0200
commitdb7300e8d4d69d03c5b48b83fc02fb832176f10e (patch)
treefca899a05232246032eb7562ab354d80b8cd64e1 /network/dokuwiki/doinst.sh
parent6db7e9906c4012c70019030f7d8be0ef79838685 (diff)
downloadslackbuilds-db7300e8d4d69d03c5b48b83fc02fb832176f10e.tar.gz
network/dokuwiki: Updated for version 20150810a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dokuwiki/doinst.sh')
-rw-r--r--network/dokuwiki/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/network/dokuwiki/doinst.sh b/network/dokuwiki/doinst.sh
new file mode 100644
index 0000000000..698828834d
--- /dev/null
+++ b/network/dokuwiki/doinst.sh
@@ -0,0 +1,5 @@
+sed -i "s:#Include /etc/httpd/mod_php.conf:Include /etc/httpd/mod_php.conf:g" etc/httpd/httpd.conf
+grep -q -e 'Dokuwiki' etc/httpd/httpd.conf || cat >> etc/httpd/httpd.conf <<'EOF'
+# Dokuwiki
+Include /etc/httpd/extra/httpd-dokuwiki.conf
+EOF