4 echo "You need to supply exactly one argument, e.g.:"
5 echo "$0 actions/contents2"
9 # Split the two arguments into their category and icon name parts.
11 src_category
=${src%/*}
14 # Remove the scalable icon.
15 if [ -f scalable
/$src.svgz
]; then
16 echo "Removing scalable/$src.svgz..."
17 svn
rm scalable
/$src.svgz
21 # Remove the optimized small versions of the icon.
22 for dir
in 8x8
16x16
22x22
32x32
48x48
64x64
128x128
; do
23 if [ -f scalable
/$src_category/small
/$dir/$src_icon.svgz
]; then
24 echo "Removing scalable/$src_category/small/$dir/$src_icon.svgz..."
25 svn
rm scalable
/$src_category/small
/$dir/$src_icon.svgz
30 # Remove the rendered PNGs.
31 for dir
in 8x8
16x16
22x22
32x32
48x48
64x64
128x128
; do
32 if [ -f $dir/$src.png
]; then
33 echo "Removing $dir/$src.png..."