Updates nginx detection during configuration.

This commit is contained in:
damencho 2015-07-30 14:59:31 -05:00
parent a701821698
commit 3289f6f68e
1 changed files with 1 additions and 3 deletions

View File

@ -47,9 +47,7 @@ case "$1" in
db_set jitsi-meet/jvb-hostname $JVB_HOSTNAME
NGINX_INSTALL_CHECK="$(dpkg-query -W -f '${PackageSpec}:${Status}\n' nginx 2>&1 | grep -v "ok installed" || :)"
if [ -n "${NGINX_INSTALL_CHECK}" ]; then
FORCE_NGINX="false"
else
if [ -z "${NGINX_INSTALL_CHECK}" ]; then
FORCE_NGINX="true"
fi