From 84c8cf23b6bb6a42155b64f597dede92e6a460e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Sol=C3=ADs?= Date: Wed, 29 Jan 2025 16:05:32 +0000 Subject: [PATCH] fix: Solve typo in new condition --- friendica-fix-avatar-permissions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/friendica-fix-avatar-permissions.sh b/friendica-fix-avatar-permissions.sh index d36704b..13642af 100755 --- a/friendica-fix-avatar-permissions.sh +++ b/friendica-fix-avatar-permissions.sh @@ -30,7 +30,7 @@ loop_1(){ elif [[ "${p}" =~ .webp ]] then #If file is not animated - if [[ $(grep -v -q -e "ANIM" -e "ANMF" "${p}" ]] + if [[ $(grep -v -q -e "ANIM" -e "ANMF" "${p}") ]] then nice -n 10 cwebp -mt -af -quiet "${p}" -o /tmp/temp.webp #&> /dev/null if [[ -f /tmp/temp.webp ]]