comparison contrib/splicex/.configure @ 692:070666f04505 draft

SpliceX fix
author d3v11 <d3v11@d3v11.ano>
date Sun, 23 Oct 2011 17:27:11 -0500
parents 2e33b56d4f0d
children 24a6ba1d8657
comparison
equal deleted inserted replaced
691:ecbea9c84ed0 692:070666f04505
1 #!/bin/bash
2 clear
3 echo -e "\033[1;31m
4 __________ _ _ __ __ ______
5 / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / /
6 / / / /\___ \| '_ \| | |/ __/ _ \\\\\\ / / / / /
7 / / / / ___) | |_) | | | (_| __// \\ / / / /
8 /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/
9 |_|
10 \033[1;33m
11 .:Brute Force Utilities For GNU/Linux:.
12 \033[0;0m
13
14 SpliceX is free software: you can redistribute it and/or modify it under
15 the terms of the GNU General Public License as published by the Free
16 Software Foundation, either version 3 of the License, or (at your option)
17 any later version.
18
19 SpliceX is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details. <http://www.gnu.org/licenses/>
23
24 "
25
26 if [[ $(id -u) != 0 ]]; then
27 echo 'root privileges required!..Quiting...'
28 exit 1
29 fi
30
31 sleep .3
32 echo 'CONFIGURE: '
33 sleep .3
34 echo -ne 'checking for python'
35 sleep .3
36 echo -ne '.'
37 sleep .3
38 echo -ne '.'
39 sleep .3
40 echo -ne '.'
41 if which python >/dev/null; then
42 sleep .3
43 echo -ne ' python found :-)'
44 echo
45 sleep .3
46 else
47 sleep .3
48 echo -ne ' python not found. Quiting... :-('
49 echo
50 exit 1
51 fi
52
53 echo -ne 'checking for man'
54 sleep .3
55 echo -ne '.'
56 sleep .3
57 echo -ne '.'
58 sleep .3
59 echo -ne '.'
60 if which man >/dev/null; then
61 sleep .3
62 echo -ne ' man found :-)'
63 echo
64 sleep .3
65 else
66 sleep .3
67 echo -ne ' man not found. Quiting... :-('
68 echo
69 exit 1
70 fi
71
72 PYPATH=`which python`
73 echo "configuring splicex for $PYPATH"
74 sleep .3
75 echo -ne '.'
76 sleep .3
77 echo -ne '.'
78 sleep .3
79 echo -ne '.'
80 sed -e s^PYTHON^"$PYPATH"^g src/splicex.py >src/splicex.cp
81 sed -e s^PYTHON^"$PYPATH"^g src/splicex-deshadow.py >src/splicex-deshadow.cp
82 echo "configured...continuing \`make install'"
83 sleep .3
84 echo
85 echo 'INSTALL: '
86 sleep .3