Detects nginx-extras package. Fixes #3891.
This commit is contained in:
parent
7e320a5d38
commit
2ac5d136dc
|
@ -21,7 +21,7 @@ Description: WebRTC JavaScript video conferences
|
||||||
|
|
||||||
Package: jitsi-meet-web-config
|
Package: jitsi-meet-web-config
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: openssl, openjdk-8-jre-headless | nginx | apache2
|
Depends: openssl, openjdk-8-jre-headless | nginx | nginx-extras | apache2
|
||||||
Description: Configuration for web serving of Jitsi Meet
|
Description: Configuration for web serving of Jitsi Meet
|
||||||
Jitsi Meet is a WebRTC JavaScript application that uses Jitsi
|
Jitsi Meet is a WebRTC JavaScript application that uses Jitsi
|
||||||
Videobridge to provide high quality, scalable video conferences.
|
Videobridge to provide high quality, scalable video conferences.
|
||||||
|
|
|
@ -52,7 +52,11 @@ case "$1" in
|
||||||
db_set jitsi-meet/jvb-hostname $JVB_HOSTNAME
|
db_set jitsi-meet/jvb-hostname $JVB_HOSTNAME
|
||||||
|
|
||||||
NGINX_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'nginx' 2>/dev/null | awk '{print $3}' || true)"
|
NGINX_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'nginx' 2>/dev/null | awk '{print $3}' || true)"
|
||||||
if [ "$NGINX_INSTALL_CHECK" = "installed" ] || [ "$NGINX_INSTALL_CHECK" = "unpacked" ] ; then
|
NGINX_EXTRAS_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'nginx-extras' 2>/dev/null | awk '{print $3}' || true)"
|
||||||
|
if [ "$NGINX_INSTALL_CHECK" = "installed" ] \
|
||||||
|
|| [ "$NGINX_INSTALL_CHECK" = "unpacked" ] \
|
||||||
|
|| [ "$NGINX_EXTRAS_INSTALL_CHECK" = "installed" ] \
|
||||||
|
|| [ "$NGINX_EXTRAS_INSTALL_CHECK" = "unpacked" ] ; then
|
||||||
FORCE_NGINX="true"
|
FORCE_NGINX="true"
|
||||||
fi
|
fi
|
||||||
APACHE_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'apache2' 2>/dev/null | awk '{print $3}' || true)"
|
APACHE_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'apache2' 2>/dev/null | awk '{print $3}' || true)"
|
||||||
|
|
Loading…
Reference in New Issue