From cc76399416fb87ebb3881409e65b436961bd792c Mon Sep 17 00:00:00 2001 From: Ark74 Date: Mon, 17 Aug 2020 10:11:10 -0500 Subject: [PATCH] Disable localrecording toolbar --- jitsi-updater.sh | 10 ++++------ jra_nextcloud.sh | 3 +-- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/jitsi-updater.sh b/jitsi-updater.sh index 096f709..cec1cf7 100644 --- a/jitsi-updater.sh +++ b/jitsi-updater.sh @@ -148,12 +148,10 @@ else sed -i "s|https://jitsi.org/live|$support|g" $INT_CONF fi -printf "${Purple}========== Re-enable Localrecording ==========${Color_Off}\n" -if [ "$LOC_REC" = "on" ]; then - echo "Setting LocalRecording..." - sed -i "s|'tileview'|'tileview', 'localrecording'|" $INT_CONF -else - echo "Moving on..." +printf "${Purple}========== Disable Localrecording ==========${Color_Off}\n" +if [ "$LOC_REC" != "on" ]; then + echo "Removing localrecording..." + sed -i "s|'localrecording',||" $INT_CONF fi printf "${Purple}========== Disable Blur my background ==========${Color_Off}\n" diff --git a/jra_nextcloud.sh b/jra_nextcloud.sh index 4229526..9fd3f80 100644 --- a/jra_nextcloud.sh +++ b/jra_nextcloud.sh @@ -175,7 +175,6 @@ systemctl restart php$PHPVER-fpm.service #-------------------------------------------------- echo -e "\n---- Creating the PgSQL DB & User ----" - sudo -u postgres psql <