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 <