oxiora: don't -s by default, just in case

This commit is contained in:
Starbeamrainbowlabs 2024-06-15 00:39:58 +01:00
parent a5f96b2a5e
commit 69f2bc03a8
No known key found for this signature in database
GPG key ID: 1BE5172E637709C2

View file

@ -52,7 +52,7 @@ for filepath in "$@"; do
# no -a here 'cause this is technically an editing file to fully-transparent pixel colours could have meaning # no -a here 'cause this is technically an editing file to fully-transparent pixel colours could have meaning
#shellcheck disable=SC2086 #shellcheck disable=SC2086
find "${temp_dir}" -iname '*.png' -print0 | xargs -0 oxipng ${FLAGS} -somax; find "${temp_dir}" -iname '*.png' -print0 | xargs -0 oxipng ${FLAGS} -omax;
filepath_target="${filepath%.*}-small.${filepath##*.}"; filepath_target="${filepath%.*}-small.${filepath##*.}";
filepath_target="$(realpath "${filepath_target}")"; filepath_target="$(realpath "${filepath_target}")";