Win32CleanupAdwaita.sh: make note of a corner case

I've actually tried to replicate that behaviour earlier,
and it kept around way too many icons.
This commit is contained in:
Přemysl Eric Janouch 2021-11-01 02:40:41 +01:00
parent 093baaa034
commit ac6ac4f845
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ find share/icons/Adwaita -type f | awk 'BEGIN {
sub(/[.].+$/, "", base)
# Try matching while cutting off suffixes
# Disregarding the not-much-used GTK_ICON_LOOKUP_GENERIC_FALLBACK
while (!(keep = good[base]) &&
sub(/-(ltr|rtl|symbolic)$/, "", base)) {}
if (!keep)