Synchronize cross-compilation scripts

This commit is contained in:
2022-08-11 14:15:20 +02:00
parent 2e684d2f4e
commit 4073749d3b
3 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh -e
# Removes unused icons from the Adwaita theme, it could be even more aggressive,
# since it keeps around lots of sizes and all the GTK+ stock icons
# Removes unused icons from the Adwaita theme. It could be even more aggressive,
# since it keeps around lots of sizes and all the GTK+ stock icons.
export LC_ALL=C
find share/icons/Adwaita -type f | awk 'BEGIN {
while (("grep -aho \"[a-z][a-z-]*\" *.dll *.exe" | getline) > 0)
@@ -17,4 +17,4 @@ find share/icons/Adwaita -type f | awk 'BEGIN {
sub(/-(ltr|rtl|symbolic)$/, "", base)) {}
if (!keep)
print
}' | xargs rm
}' | xargs rm --