Use the script I've just created.
[oxy-cursors.git] / package_cursors.sh
blob95d11fa0a65536a456d59f7dd27204006eb73230
1 #!/bin/bash
3 echo "Running generate_WORLD.sh..."
5 cd svgs
6 ./create-baselayout.sh
7 ./generate_WORLD.sh
8 cd ..
10 echo
11 echo
12 echo "Packaging all the cursors"
13 echo
14 echo
16 colors="blue yellow brown grey green violet red purple navy sea_blue emerald hot_orange white"
18 mkdir -p temp
19 cd temp
21 for color in $colors; do
23 mkdir -p $color
24 cd $color
26 cat > index.theme << EOF
27 [Icon Theme]
28 Name = Oxygen $color
29 Comment = The Oxygen mouse theme. Oxygenize your desktop!
30 EOF
32 mkdir cursors
33 cp ../../cursors/$color/* cursors/
35 cd ..
36 tar -cf oxygen-cursors-$color.tar $color
38 done
40 cd ..
41 cp temp/*.tar .
42 rm -rf temp/