fix: Solve typo in new condition

This commit is contained in:
Carlos Solís 2025-01-29 16:05:32 +00:00
parent 164641f5f7
commit 84c8cf23b6

View file

@ -30,7 +30,7 @@ loop_1(){
elif [[ "${p}" =~ .webp ]] elif [[ "${p}" =~ .webp ]]
then then
#If file is not animated #If file is not animated
if [[ $(grep -v -q -e "ANIM" -e "ANMF" "${p}" ]] if [[ $(grep -v -q -e "ANIM" -e "ANMF" "${p}") ]]
then then
nice -n 10 cwebp -mt -af -quiet "${p}" -o /tmp/temp.webp #&> /dev/null nice -n 10 cwebp -mt -af -quiet "${p}" -o /tmp/temp.webp #&> /dev/null
if [[ -f /tmp/temp.webp ]] if [[ -f /tmp/temp.webp ]]