diff --git a/jitsi-updater.sh b/jitsi-updater.sh index 3bee66a..b1af3f4 100644 --- a/jitsi-updater.sh +++ b/jitsi-updater.sh @@ -222,7 +222,7 @@ fi [ "$JIBRI_NODE" != yes ] && \ if [ "$NC_DOMAIN" != "TBD" ]; then printwc "${Purple}" "========== Enable $NC_DOMAIN for sync client ==========\n" - if [ -z "$PREAD_PROXY" ]; then + if [ -f "$JITSI_MEET_PROXY" ] && [ -z "$PREAD_PROXY" ]; then printf "\n Setting up Nextcloud domain on Jitsi Meet turn proxy\n\n" sed -i "/server {/i \ \ map \$ssl_preread_server_name \$upstream {" "$JITSI_MEET_PROXY" sed -i "/server {/i \ \ \ \ \ \ $DOMAIN web;" "$JITSI_MEET_PROXY" diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index da32c76..061f4d9 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -425,7 +425,7 @@ else unzip -o /tmp/chromedriver_linux64.zip -d /usr/local/bin/ chown root:root /usr/local/bin/chromedriver chmod 0755 /usr/local/bin/chromedriver - rm -rf /tpm/chromedriver_linux64.zip + rm -rf /tmp/chromedriver_linux64.zip fi printf "\nCheck Google Software Working...\n"