mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-03-03 15:28:28 +00:00
More cleanup
This commit is contained in:
parent
e663eda6d7
commit
9cdfff1dcb
1 changed files with 3 additions and 6 deletions
|
@ -805,12 +805,9 @@ installPihole() {
|
||||||
create_pihole_user
|
create_pihole_user
|
||||||
install -d -o ${LIGHTTPD_USER} -g ${LIGHTTPD_GROUP} -m775 /var/www/html
|
install -d -o ${LIGHTTPD_USER} -g ${LIGHTTPD_GROUP} -m775 /var/www/html
|
||||||
usermod -a -G ${LIGHTTPD_GROUP} pihole
|
usermod -a -G ${LIGHTTPD_GROUP} pihole
|
||||||
if [ -x "$(command -v lighty-enable-mod)" ]; then
|
lighty-enable-mod fastcgi fastcgi-php > /dev/null 2>&1 || (
|
||||||
lighty-enable-mod fastcgi fastcgi-php > /dev/null || true
|
printf "\n***\tWarning: 'lighty-enable-mod' utility not found. Please ensure fastcgi is enabled if you experience issues.\n" && INSTALLBUG=1 )
|
||||||
else
|
|
||||||
printf "\n***\tWarning: 'lighty-enable-mod' utility not found. Please ensure fastcgi is enabled if you experience issues.\n"
|
|
||||||
INSTALLBUG=1
|
|
||||||
fi
|
|
||||||
finalExports || criticalError "finalExports"
|
finalExports || criticalError "finalExports"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue