slackbuilds_ponce/network/dokuwiki/doinst.sh
Jefferson Rocha 59ee771597
network/dokuwiki: Add new info.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-01-30 10:29:14 +07:00

7 lines
277 B
Bash

# 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'
Include /etc/httpd/extra/httpd-dokuwiki.conf
EOF