summaryrefslogtreecommitdiff
path: root/svgtopng
diff options
context:
space:
mode:
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 "==================================="