diff options
author | Mattias Andrée <maandree@kth.se> | 2024-02-06 07:46:58 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-02-06 07:46:58 +0100 |
commit | 8c30c456806ff6d40684a7acf4084f387932db0e (patch) | |
tree | f534b0560067677c9813e3214f38bbb49523d449 /find-unlisted-icons | |
parent | Add some aliases and icons (diff) | |
download | simple-icon-theme-8c30c456806ff6d40684a7acf4084f387932db0e.tar.gz simple-icon-theme-8c30c456806ff6d40684a7acf4084f387932db0e.tar.bz2 simple-icon-theme-8c30c456806ff6d40684a7acf4084f387932db0e.tar.xz |
Big update11
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'find-unlisted-icons')
-rwxr-xr-x | find-unlisted-icons | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/find-unlisted-icons b/find-unlisted-icons deleted file mode 100755 index f493178..0000000 --- a/find-unlisted-icons +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -set -e - -for f in scalable/*/*.svg; do - if test -e "$f"; then - printf '%s\n' "$f" - fi -done | sed 's/^scalable\/\(.*\)\.svg$/\1/' | sort > "/tmp/pid-$$-a" - -sed 's/\\$//' < icons.mk | sed '/^\s*\(#.*\|\)$/d' | sed 1d | tr -d '\t' | sort > "/tmp/pid-$$-b" - -unlisted="$(comm -23 "/tmp/pid-$$-a" "/tmp/pid-$$-b")" -rm "/tmp/pid-$$-a" "/tmp/pid-$$-b" - -if test -n "$unlisted"; then - printf '%s\n' 'The following icons exist but are not listed in icons.mk' "$unlisted" >&2 - exit 1 -fi |