Lite portal fixes.

pull/599/head
Joseph Prochazka 2024-08-05 19:50:34 -04:00
rodzic 9dcf3fbb9d
commit 402593ee2a
2 zmienionych plików z 3 dodań i 5 usunięć

Wyświetl plik

@ -413,7 +413,7 @@ else
fi
# Portals
if [[ "${WEBPORTAL_DO_INSTALL}" == "true" ]]; then
if [[ "${install_portal}" == "true" ]]; then
confirmation_message="${confirmation_message}\n * ADS-B Receiver Project Web Portal"
fi

Wyświetl plik

@ -218,7 +218,7 @@ esac
# Install PHP.
check_package php${DISTRO_PHP_VERSION}-cgi
if (( $(echo "${DISTRO_PHP_VERSION} < 8" | bc -l) )); then
if [[ ! "${DISTRO_PHP_VERSION}" == "" && "${DISTRO_PHP_VERSION}" < "8" ]]; then
check_package php${DISTRO_PHP_VERSION}-json
fi
@ -253,9 +253,7 @@ if [[ "${ADVANCED}" = "true" ]] ; then
;;
esac
else
if [ ! $DISTRO_PHP_VERSION == "5" ]; then
check_package php${DISTRO_PHP_VERSION}-xml
fi
check_package php${DISTRO_PHP_VERSION}-xml
fi
# Reload Lighttpd after installing the prerequisite packages.