comparison contrib/splicex/configure @ 682:a785c7cf4b6a draft

splicex stuff
author resdb <resdb@d3v11-VM.(none)>
date Sat, 22 Oct 2011 17:49:18 -0500
parents 14a390660911
children 39369594be19
comparison
equal deleted inserted replaced
681:14a390660911 682:a785c7cf4b6a
1 #!/bin/bash 1 #!/bin/bash
2 clear
3
4 echo " 2 echo "
5 __________ _ _ __ __ ______ 3 __________ _ _ __ __ ______
6 / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / / 4 / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / /
7 / / / /\___ \| '_ \| | |/ __/ _ \\\\ / / / / / 5 / / / /\___ \| '_ \| | |/ __/ _ \\\\ / / / / /
8 / / / / ___) | |_) | | | (_| __// \\ / / / / 6 / / / / ___) | |_) | | | (_| __// \\ / / / /
9 /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/ 7 /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/
10 |_| 8 |_|
11 9
12 .:Brute Force Utilities For GNU/Linux:. 10 .:Brute Force Utilities For GNU/Linux:.
13 " 11 "
12
13 if [[ $(id -u) != 0 ]]; then
14 echo 'root privileges required!..Quiting...'
15 exit 1
16 fi
14 17
15 sleep 1 18 sleep 1
16 echo 'CONFIGURE: ' 19 echo 'CONFIGURE: '
17 sleep 1 20 sleep 1
18 echo -ne 'checking for python' 21 echo -ne 'checking for python'
22 echo -ne '.' 25 echo -ne '.'
23 sleep 1 26 sleep 1
24 echo -ne '.' 27 echo -ne '.'
25 if which python >/dev/null; then 28 if which python >/dev/null; then
26 sleep 1 29 sleep 1
27 echo -ne 'python found :-)' 30 echo -ne ' python found :-)'
28 echo 31 echo
29 sleep 1 32 sleep 1
30 else 33 else
31 sleep 1 34 sleep 1
32 echo -ne 'python not found. Quiting... :-(' 35 echo -ne ' python not found. Quiting... :-('
33 echo 36 echo
34 exit 1 37 exit 1
35 fi 38 fi
36 39
37 echo -ne 'checking for man' 40 echo -ne 'checking for man'
41 echo -ne '.' 44 echo -ne '.'
42 sleep 1 45 sleep 1
43 echo -ne '.' 46 echo -ne '.'
44 if which man >/dev/null; then 47 if which man >/dev/null; then
45 sleep 1 48 sleep 1
46 echo -ne 'man found :-)' 49 echo -ne ' man found :-)'
47 echo 50 echo
48 sleep 1 51 sleep 1
49 else 52 else
50 sleep 1 53 sleep 1
51 echo -ne 'man not found. Quiting... :-(' 54 echo -ne ' man not found. Quiting... :-('
52 echo 55 echo
53 exit 1 56 exit 1
54 fi 57 fi
55 58
56 PYPATH=`which python` 59 PYPATH=`which python`