summaryrefslogtreecommitdiff
path: root/contrib/splicex/configure
blob: bda1d86f44c607ffa84a57cf540aaf86a476cb41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/bin/bash
clear
echo "
     __________        _ _         __  __    ______
    / / / / ___| _ __ | (_) ___ ___\\ \\/ /   / / / /
   / / / /\___ \| '_ \| | |/ __/ _ \\\\  /   / / / /
  / / / /  ___) | |_) | | | (_|  __//  \\  / / / /
 /_/_/_/  |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/
                |_|

      .:Brute Force Utilities For GNU/Linux:.
"

if [[ $(id -u) != 0 ]]; then
 echo 'root privileges required!..Quiting...'
 exit 1
fi

sleep .7
echo 'CONFIGURE: '
sleep .7
echo -ne 'checking for python'
sleep .7
echo -ne '.'
sleep .7
echo -ne '.'
sleep .7
echo -ne '.'
if which python >/dev/null; then
 sleep .7
 echo -ne ' python found :-)'
 echo
 sleep .7
else
 sleep .7
 echo -ne ' python not found. Quiting... :-('
 echo
 exit 1
fi

echo -ne 'checking for man'
sleep .7
echo -ne '.'
sleep .7
echo -ne '.'
sleep .7
echo -ne '.'
if which man >/dev/null; then
 sleep .7
 echo -ne ' man found :-)'
 echo
 sleep .7
else
 sleep .7
 echo -ne ' man not found. Quiting... :-('
 echo
 exit 1
fi

PYPATH=`which python`
echo "configuring splicex for $PYPATH"
sleep .7
echo -ne '.'
sleep .7
echo -ne '.'
sleep .7
echo -ne '.'
sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex.py >LINUX/splicex.cp
sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp
echo "configured...continuing \`make install'"
sleep .7
echo
echo 'INSTALL: '
sleep .7