New fucking sha1 name
[oxy-cursors.git] / package_cursors.sh
blob2c6897644478335d3695339ecdfda0fb8465fc8c
1 #!/bin/bash
3 echo "Running generate_WORLD.sh..."
5 cd svgs
6 ./generate_WORLD.sh
7 cd ..
9 echo
10 echo
11 echo "Packaging all the cursors"
12 echo
13 echo
15 colors="blue yellow brown grey green violet red purple navy sea_blue emerald hot_orange white"
17 mkdir -p temp
18 cd temp
20 for color in $colors; do
22 mkdir -p $color
23 cd $color
25 cat > index.theme << EOF
26 [Icon Theme]
27 Name = Oxygen $color
28 Comment = The Oxygen mouse theme. Oxygenize your desktop!
29 EOF
31 mkdir cursors
32 cp ../../cursors/$color/* cursors/
34 cd ..
35 tar -cf oxygen-cursors-$color.tar $color
37 done
39 cd ..
40 cp temp/*.tar .
41 rm -rf temp/