Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(debian): Improves handling db_get.
damencho5ac30262a500
diff --git a/debian/jitsi-meet-web-config.postinst b/debian/jitsi-meet-web-config.postinstindex 8eb3cff1cc..beba2f3c7e 100644--- a/debian/jitsi-meet-web-config.postinst+++ b/debian/jitsi-meet-web-config.postinst@@ -45,8 +45,9 @@ case "$1" inJVB_SERVE="false"# this detect only old installations+ RET=""db_get jitsi-meet/jvb-serve || true- if [ -n "$RET" ] && [ "$RET" = "true" ] ; then+ if [ "$RET" = "true" ] ; thenJVB_SERVE="true"fi@@ -69,19 +70,21 @@ case "$1" inFORCE_APACHE="true"fi# In case user enforces apache and if apache is available, unset nginx.+ RET=""db_get jitsi-meet/enforce_apache || RET="false"- if [ -n "$RET" ] && [ "$RET" = "true" ] \- && [ "$FORCE_APACHE" = "true" ]; then+ if [ "$RET" = "true" ] && [ "$FORCE_APACHE" = "true" ]; thenFORCE_NGINX="false"fiUPLOADED_CERT_CHOICE="I want to use my own certificate"# if first time config ask for certs, or if we are reconfiguringif [ -z "$JVB_HOSTNAME_OLD" ] || [ "$RECONFIGURING" = "true" ] ; then+ RET=""db_get jitsi-meet/cert-choiceCERT_CHOICE="$RET"if [ "$CERT_CHOICE" = "$UPLOADED_CERT_CHOICE" ] ; then+ RET=""db_get jitsi-meet/cert-path-keyif [ -z "$RET" ] ; thendb_set jitsi-meet/cert-path-key "/etc/ssl/$JVB_HOSTNAME.key"@@ -90,6 +93,7 @@ case "$1" indb_get jitsi-meet/cert-path-keyfiCERT_KEY="$RET"+ RET=""db_get jitsi-meet/cert-path-crtif [ -z "$RET" ] ; thendb_set jitsi-meet/cert-path-crt "/etc/ssl/$JVB_HOSTNAME.crt"@@ -152,12 +156,15 @@ case "$1" in# Removing this value will force nginx or apache to be locally configuredJVB_HOSTNAME_OLD=""+ RET=""db_get jitsi-meet/cert-choiceCERT_CHOICE="$RET"# Fix certs on upgrade from jettyif [ "$CERT_CHOICE" = "$UPLOADED_CERT_CHOICE" ] ; then+ RET=""db_get jitsi-meet/cert-path-keyCERT_KEY="$RET"+ RET=""db_get jitsi-meet/cert-path-crtCERT_CRT="$RET"else