install_web_server

+ Splits web interface and server into two variables.
+ Option to disable forced install of Lighttpd.
This commit is contained in:
Daniel (Fourdee) 2018-04-15 02:08:16 +01:00
parent 36d9af10f0
commit 3a483a1b20
4 changed files with 67 additions and 67 deletions

View file

@ -222,7 +222,7 @@ checkout() {
Please re-run install script from https://github.com/pi-hole/pi-hole${COL_NC}"
exit 1;
fi
if [[ "${INSTALL_WEB}" == "true" ]]; then
if [[ "${INSTALL_WEB_INTERFACE}" == "true" ]]; then
if ! is_repo "${webInterfaceDir}" ; then
echo -e " ${COL_LIGHT_RED}Error: Web Admin repo is missing from system!
Please re-run install script from https://github.com/pi-hole/pi-hole${COL_NC}"