Fix condition.

This commit is contained in:
Luis Guzmán 2020-08-15 02:16:54 -05:00
parent 3730ca9bff
commit 8cc13b91b9
1 changed files with 6 additions and 6 deletions

View File

@ -126,13 +126,13 @@ fi
# We divide them on UI changes and branding changes, feel free to adapt # We divide them on UI changes and branding changes, feel free to adapt
# to your needs. # to your needs.
# #
# Please keep in mind that fees to support for customization changes # Please keep in mind that fees for support customization changes may
# may apply. # apply.
######################################################################## ########################################################################
# User interface changes # # User interface changes #
######################################################################## ########################################################################
printf "${Purple}========== Setting Static Avatar ==========${Color_Off}\n" printf "${Purple}========== Setting Static Avatar ==========${Color_Off}\n"
if [[ -z $AVATAR ]]; then if [[ -z "$AVATAR" ]]; then
echo "Moving on..." echo "Moving on..."
else else
echo "Setting Static Avatar" echo "Setting Static Avatar"
@ -149,7 +149,7 @@ else
fi fi
printf "${Purple}========== Re-enable Localrecording ==========${Color_Off}\n" printf "${Purple}========== Re-enable Localrecording ==========${Color_Off}\n"
if [ $LOC_REC = on ]; then if [ "$LOC_REC" = "on" ]; then
echo "Setting LocalRecording..." echo "Setting LocalRecording..."
sed -i "s|'tileview'|'tileview', 'localrecording'|" $INT_CONF sed -i "s|'tileview'|'tileview', 'localrecording'|" $INT_CONF
else else
@ -160,9 +160,9 @@ printf "${Purple}========== Disable Blur my background ==========${Color_Off}\n
sed -i "s|'videobackgroundblur', ||" $INT_CONF sed -i "s|'videobackgroundblur', ||" $INT_CONF
if [ ! "$NC_DOMAIN" = "TBD" ]; if [ "$NC_DOMAIN" != "TBD" ]; then
printf "${Purple}========== Enable $NC_DOMAIN for sync client ==========${Color_Off}\n" printf "${Purple}========== Enable $NC_DOMAIN for sync client ==========${Color_Off}\n"
if [ -z $PREAD_PROXY ]; then if [ -z "$PREAD_PROXY" ]; then
echo " echo "
Setting up Nextcloud domain on Jitsi Meet turn proxy Setting up Nextcloud domain on Jitsi Meet turn proxy
" "