summaryrefslogtreecommitdiff
path: root/network/dokuwiki/doinst.sh
blob: 698828834dd7a5e845dde016c21dc04ae43ad0d0 (plain)
1
2
3
4
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