summaryrefslogtreecommitdiff
path: root/network/dokuwiki/doinst.sh
diff options
context:
space:
mode:
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