Merge Debian packaging for release “0.6.1-2”.
[debian_comixcursors.git] / install-all.sh
blob123b8ba26c1c6e6f1ce043241a3d88ed8782a602
1 #!/bin/sh
3 # the original cursors
4 SIZES="Small Regular Large Huge"
5 COLORS="Black Blue Green Orange Red White"
6 NAME="ComixCursors"
8 for c in $COLORS; do
9 for s in $SIZES; do
10 # install bold version
11 if [[ -f ComixCursorsConfigs/$c-$s.CONFIG && -f ComixCursorsConfigs/$c-$s.theme ]] ; then
12 echo -e "\ninstalling \"$c $s\":\n"
13 cp ComixCursorsConfigs/$c-$s.CONFIG CONFIG
14 cp ComixCursorsConfigs/$c-$s.theme index.theme
15 ./install.bash
16 sleep 3
17 if [ -d ~/.icons/$NAME-$c-$s ] ; then
18 rm -r ~/.icons/$NAME-$c-$s
20 mv ~/.icons/ComixCursors-Custom ~/.icons/$NAME-$c-$s
22 # install slim version, these will use the shadows from the bold version
23 if [[ -f ComixCursorsConfigs/$c-$s-Slim.CONFIG && -f ComixCursorsConfigs/$c-$s-Slim.theme ]] ; then
24 echo -e "\ninstalling \"$c $s Slim\":\n"
25 cp ComixCursorsConfigs/$c-$s-Slim.CONFIG CONFIG
26 cp ComixCursorsConfigs/$c-$s-Slim.theme index.theme
27 ./install.bash
28 sleep 3
29 if [ -d ~/.icons/$NAME-$c-$s-Slim ] ; then
30 rm -r ~/.icons/$NAME-$c-$s-Slim
32 mv ~/.icons/ComixCursors-Custom ~/.icons/$NAME-$c-$s-Slim
34 done
35 done
37 echo -e "\ninstalling Ghost:\n"
38 cp ComixCursorsConfigs/Ghost.CONFIG CONFIG
39 cp ComixCursorsConfigs/Ghost.theme index.theme
40 ./install.bash
41 if [ -d ~/.icons/$NAME-Ghost ] ; then
42 rm -r ~/.icons/$NAME-Ghost
44 mv ~/.icons/ComixCursors-Custom ~/.icons/$NAME-Ghost
46 echo -e "\ninstalling Christmas:\n"
47 cp ComixCursorsConfigs/Christmas.CONFIG CONFIG
48 cp ComixCursorsConfigs/Christmas.theme index.theme
49 ./install.bash
50 if [ -d ~/.icons/$NAME-Christmas ] ; then
51 rm -r ~/.icons/$NAME-Christmas
53 mv ~/.icons/ComixCursors-Custom ~/.icons/$NAME-Christmas
55 cp ComixCursorsConfigs/custom.CONFIG CONFIG
56 cp ComixCursorsConfigs/custom.theme index.theme