2021-01-29 09:27:52 +08:00
|
|
|
# Remove comment
|
2016-07-28 05:23:01 +08:00
|
|
|
sed -i "s:#Include /etc/httpd/mod_php.conf:Include /etc/httpd/mod_php.conf:g" etc/httpd/httpd.conf
|
2021-01-29 09:27:52 +08:00
|
|
|
|
|
|
|
# If not exist line, send...
|
2015-09-06 07:50:13 +08:00
|
|
|
grep -q -e 'Dokuwiki' etc/httpd/httpd.conf || cat >> etc/httpd/httpd.conf <<'EOF'
|
|
|
|
Include /etc/httpd/extra/httpd-dokuwiki.conf
|
|
|
|
EOF
|