TMU (Too Many Updates)

This commit is contained in:
Geoffrey Frogeye 2019-10-17 12:44:30 +02:00
parent 392dfed89a
commit 789f26d925
12 changed files with 147 additions and 76 deletions

View file

@ -129,7 +129,7 @@ do
replace "$prog" "$image"
done <<< "$(find "$dir" -type f -iregex ".+.jpe?g$")"
done <<< "$(find "$dir/" -type f -iregex ".+.jpe?g$")"
# PNG (requires optipng)
while read image
@ -144,7 +144,7 @@ do
replace "$temp" "$image"
done <<< "$(find "$dir" -type f -iname "*.png")"
done <<< "$(find "$dir/" -type f -iname "*.png")"
# # SVG (requires scour)
# while read image
@ -158,7 +158,7 @@ done <<< "$(find "$dir" -type f -iname "*.png")"
#
# replaceImg "$temp" "$image"
#
# done <<< "$(find "$dir" -type f -iname "*.svg")"
# done <<< "$(find "$dir/" -type f -iname "*.svg")"
# NOTE Explicitely disabled since:
# - I only have ~50 MiB of SVG in TOTAL