comparison 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
comparison
equal deleted inserted replaced
638:6753fb814c94 639:15bbd88257a6
1 #!/bin/bash
2 echo 'checking for python2.7'
3 if which python2.7 >/dev/null; then
4 :
5 else
6 echo 'python2.7 not found. Quiting... :-('
7 exit 1
8 fi
9
10 echo 'checking for man'
11 if which man >/dev/null; then
12 :
13 else
14 echo 'man not found. Quiting... :-('
15 exit 1
16 fi
17
18 echo 'checking for dpkg'
19 if which dpkg >/dev/null; then
20 :
21 else
22 echo 'dpkg not found. Quiting... :-('
23 exit 1
24 fi
25
26 echo 'configuring path to python2.7'
27 PYPATH=`which python2.7`
28 sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3.py >LINUX/splice3.cp
29 sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3-deshadow.py >LINUX/splice3-deshadow.cp