aboutsummaryrefslogtreecommitdiff
path: root/network/dokuwiki/doinst.sh
diff options
context:
space:
mode:
authorJefferson Rocha <root@slackjeff.com.br>2021-01-29 01:27:52 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-30 10:29:14 +0700
commit59ee771597582c667b66157d82f7d6c9e6635b52 (patch)
tree401bac6ce54fce36ac86b07143020a533062f17e /network/dokuwiki/doinst.sh
parent3949adcd0ed1d51fcd90f08a01be3b4a7d8512a8 (diff)
network/dokuwiki: Add new info.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dokuwiki/doinst.sh')
-rw-r--r--network/dokuwiki/doinst.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/dokuwiki/doinst.sh b/network/dokuwiki/doinst.sh
index 14d06020bc..57a1536f08 100644
--- a/network/dokuwiki/doinst.sh
+++ b/network/dokuwiki/doinst.sh
@@ -1,5 +1,7 @@
+# Remove comment
sed -i "s:#Include /etc/httpd/mod_php.conf:Include /etc/httpd/mod_php.conf:g" etc/httpd/httpd.conf
+
+# If not exist line, send...
grep -q -e 'Dokuwiki' etc/httpd/httpd.conf || cat >> etc/httpd/httpd.conf <<'EOF'
-# Dokuwiki
Include /etc/httpd/extra/httpd-dokuwiki.conf
EOF