fix: Solve typo in new condition
This commit is contained in:
parent
164641f5f7
commit
84c8cf23b6
1 changed files with 1 additions and 1 deletions
|
@ -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 ]]
|
||||||
|
|
Loading…
Add table
Reference in a new issue