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
handles spaces around hostname ((users doubleclick a host name and paste result in the installer)
gpatel-fr29bbcf8590c4
diff --git a/debian/jitsi-meet-prosody.postinst b/debian/jitsi-meet-prosody.postinstindex 89dc23b98d..30d83c0d0f 100644--- a/debian/jitsi-meet-prosody.postinst+++ b/debian/jitsi-meet-prosody.postinst@@ -35,7 +35,7 @@ case "$1" indb_input critical jitsi-videobridge/jvb-hostname || truedb_gofi- JVB_HOSTNAME="$RET"+ JVB_HOSTNAME=$(echo "$RET" | xargs echo -n)db_get jitsi-videobridge/jvbsecretif [ -z "$RET" ] ; then@@ -64,7 +64,7 @@ case "$1" in# detect dpkg-reconfigure, just delete old linksdb_get jitsi-meet-prosody/jvb-hostname- JVB_HOSTNAME_OLD=$RET+ JVB_HOSTNAME_OLD=$(echo "$RET" | xargs echo -n)if [ -n "$RET" ] && [ ! "$JVB_HOSTNAME_OLD" = "$JVB_HOSTNAME" ] ; thenrm -f /etc/prosody/conf.d/$JVB_HOSTNAME_OLD.cfg.luarm -f /etc/prosody/certs/$JVB_HOSTNAME_OLD.keydiff --git a/debian/jitsi-meet-prosody.postrm b/debian/jitsi-meet-prosody.postrmindex 599e392f60..aa7d9a0ad5 100644--- a/debian/jitsi-meet-prosody.postrm+++ b/debian/jitsi-meet-prosody.postrm@@ -31,7 +31,7 @@ case "$1" inpurge)db_get jitsi-meet-prosody/jvb-hostname- JVB_HOSTNAME=$RET+ JVB_HOSTNAME=$(echo "$RET" | xargs echo -n)if [ -n "$RET" ]; thenrm -f /etc/prosody/conf.avail/$JVB_HOSTNAME.cfg.luarm -f /etc/prosody/conf.d/$JVB_HOSTNAME.cfg.luadiff --git a/debian/jitsi-meet-tokens.postinst b/debian/jitsi-meet-tokens.postinstindex db1452f39d..d87a1c4f8d 100644--- a/debian/jitsi-meet-tokens.postinst+++ b/debian/jitsi-meet-tokens.postinst@@ -25,7 +25,7 @@ case "$1" in. /usr/share/debconf/confmoduledb_get jitsi-meet-prosody/jvb-hostname- JVB_HOSTNAME="$RET"+ JVB_HOSTNAME=$(echo "$RET" | xargs echo -n)db_get jitsi-meet-tokens/appidif [ "$RET" = "false" ] ; thendiff --git a/debian/jitsi-meet-turnserver.postinst b/debian/jitsi-meet-turnserver.postinstindex 6312868cea..aa9fdb703d 100644--- a/debian/jitsi-meet-turnserver.postinst+++ b/debian/jitsi-meet-turnserver.postinst@@ -30,7 +30,7 @@ case "$1" indb_input critical jitsi-videobridge/jvb-hostname || truedb_gofi- JVB_HOSTNAME="$RET"+ JVB_HOSTNAME=$(echo "$RET" | xargs echo -n)TURN_CONFIG="/etc/turnserver.conf"NGINX_CONFIG="/etc/nginx/sites-available/$JVB_HOSTNAME.conf"@@ -44,7 +44,7 @@ case "$1" in# detect dpkg-reconfigure, just delete old linksdb_get jitsi-meet-turnserver/jvb-hostname- JVB_HOSTNAME_OLD=$RET+ JVB_HOSTNAME_OLD=$(echo "$RET" | xargs echo -n)if [ -n "$RET" ] && [ ! "$JVB_HOSTNAME_OLD" = "$JVB_HOSTNAME" ] ; thenif [[ -f $TURN_CONFIG ]] && grep -q "jitsi-meet coturn config" "$TURN_CONFIG" ; thenrm -f $TURN_CONFIGdiff --git a/debian/jitsi-meet-web-config.postinst b/debian/jitsi-meet-web-config.postinstindex 7f0bf5a8de..f21b456ffb 100644--- a/debian/jitsi-meet-web-config.postinst+++ b/debian/jitsi-meet-web-config.postinst@@ -32,12 +32,12 @@ case "$1" indb_godb_get jitsi-videobridge/jvb-hostnamefi- JVB_HOSTNAME="$RET"+ JVB_HOSTNAME=$(echo "$RET" | xargs echo -n)# detect dpkg-reconfigureRECONFIGURING="false"db_get jitsi-meet/jvb-hostname- JVB_HOSTNAME_OLD=$RET+ JVB_HOSTNAME_OLD=$(echo "$RET" | xargs echo -n)if [ -n "$RET" ] && [ ! "$JVB_HOSTNAME_OLD" = "$JVB_HOSTNAME" ] ; thenRECONFIGURING="true"rm -f /etc/jitsi/meet/$JVB_HOSTNAME_OLD-config.jsdiff --git a/debian/jitsi-meet-web-config.postrm b/debian/jitsi-meet-web-config.postrmindex bf607c5cab..44b7e60ad0 100644--- a/debian/jitsi-meet-web-config.postrm+++ b/debian/jitsi-meet-web-config.postrm@@ -33,7 +33,7 @@ case "$1" in;;purge)db_get jitsi-meet/jvb-hostname- JVB_HOSTNAME=$RET+ JVB_HOSTNAME=$(echo "$RET" | xargs echo -n)if [ -n "$RET" ]; thenrm -f /etc/jitsi/meet/$JVB_HOSTNAME-config.jsrm -f /etc/nginx/sites-available/$JVB_HOSTNAME.conf