slackbuilds_ponce/network/dokuwiki/doinst.sh
Giorgio Peron 1c77e284c5
network/dokuwiki: Updated for version 20160626a.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2016-07-30 08:28:31 +07:00

5 lines
241 B
Bash

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