summaryrefslogtreecommitdiff
path: root/svgtopng
diff options
context:
space:
mode:
authorSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2018-08-28 00:21:21 +0200
committerSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2018-08-28 00:21:21 +0200
commit535ca5405ddecf4a81f02000ec4c16d799aac82c (patch)
treec5bd849767db3a1602f170eede4750fd643b5ede /svgtopng
parent1e65140c0d58ecba74b9f24835f829537b2ad0b5 (diff)
downloadelementary-xfce-535ca5405ddecf4a81f02000ec4c16d799aac82c.tar.gz
Make the output of the build scripts more readable
Diffstat (limited to 'svgtopng')
-rwxr-xr-xsvgtopng/pngtheme.sh18
1 files changed, 5 insertions, 13 deletions
diff --git a/svgtopng/pngtheme.sh b/svgtopng/pngtheme.sh
index 83dbf098..7d7e44a1 100755
--- a/svgtopng/pngtheme.sh
+++ b/svgtopng/pngtheme.sh
@@ -14,26 +14,18 @@ fi
cmd="svgtopng/svgtopng"
-echo "==================================="
+echo "== Processing $1"
-echo "Creating png icons from svg files and symlinks"
+echo " * Creating png icons from svg files and symlinks"
#ignore list customized for elementary-xfce
find "$icondir" -iname "*.svg" -not \( -wholename "*/scalable/*" -o -wholename "*/symbolic/*" -o -wholename "*/animations/*process-*" -o -wholename "*/animations/*gnome-spinner*" -o -wholename "*/animations*pk-action-refresh*" \) -exec $cmd {} +
-echo "==================================="
-
-echo "Cleanup icon directory"
+echo " * Cleanup icon directory"
find "$icondir" -name "untitled folder" -type d -exec rm -rf {} +
-echo "==================================="
-
-echo "Deleting svg files"
+echo " * Deleting svg files"
find "$icondir" -iname '*.svg' -not \( -wholename "*/scalable/*" -o -wholename "*/symbolic/*" -o -wholename "*/animations/*process-*" -o -wholename "*/animations/*gnome-spinner*" -o -wholename "*/animations*pk-action-refresh*" \) -delete
-echo "==================================="
-
#ignore the output if the theme depends on another one (e.g. elementary-xfce-dark needs to be converted before elementary-xfce)
-echo "Checking dangling symlinks"
+echo " * Checking dangling symlinks"
find -L "$icondir" -type l -exec /bin/ls -go {} \;
-
-echo "==================================="