From c05db2104d504c2d355d2bda9e18ede67dd61819 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 17 Feb 2021 19:01:57 -0600 Subject: [PATCH] Fix condition check --- jm-bm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jm-bm.sh b/jm-bm.sh index 338ac04..30fc320 100644 --- a/jm-bm.sh +++ b/jm-bm.sh @@ -53,7 +53,7 @@ sed -i "s|jitsilogo.png|watermark2.png|g" $TITLE_FILE sed -i "s|logo-deep-linking.png|watermark2.png|g" $BUNDLE_JS sed -i "s|jitsiLogo_square.png|gnome_record.png|g" $BUNDLE_JS #Disable logo and url -if [ -z $(grep -nr ".leftwatermark{display:none" $CSS_FILE) ]; then +if [ -z "$(grep -nr ".leftwatermark{display:none" "$CSS_FILE")" ]; then sed -i "s|.leftwatermark{|.leftwatermark{display:none;|" $CSS_FILE fi