annotate contrib/splice3/setup-deb @ 639:15bbd88257a6 draft

added configurations to splice3 installations
author d3v11 <d3v11@d3v11.ano>
date Sat, 01 Oct 2011 14:01:03 -0500
parents
children 4714e2a4cc09
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
639
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
1 #!/bin/bash
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
2 echo 'checking for python2.7'
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
3 if which python2.7 >/dev/null; then
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
4 :
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
5 else
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
6 echo 'python2.7 not found. Quiting... :-('
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
7 exit 1
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
8 fi
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
9
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
10 echo 'checking for man'
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
11 if which man >/dev/null; then
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
12 :
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
13 else
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
14 echo 'man not found. Quiting... :-('
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
15 exit 1
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
16 fi
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
17
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
18 echo 'checking for dpkg'
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
19 if which dpkg >/dev/null; then
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
20 :
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
21 else
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
22 echo 'dpkg not found. Quiting... :-('
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
23 exit 1
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
24 fi
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
25
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
26 echo 'configuring path to python2.7'
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
27 PYPATH=`which python2.7`
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
28 sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3.py >LINUX/splice3.cp
15bbd88257a6 added configurations to splice3 installations
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
29 sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3-deshadow.py >LINUX/splice3-deshadow.cp