slackbuilds_ponce/network/dokuwiki/doinst.sh
Giorgio Peron db7300e8d4 network/dokuwiki: Updated for version 20150810a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2015-09-06 06:50:13 +07:00

5 lines
242 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