Mercurial > hg > anonet-resdb
annotate contrib/splicex/configure @ 687:f471a2bca6ff draft
splicex improvements made
author | resdb <resdb@d3v11-VM.(none)> |
---|---|
date | Sun, 23 Oct 2011 06:59:13 -0500 |
parents | 39369594be19 |
children |
rev | line source |
---|---|
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
1 #!/bin/bash |
685 | 2 clear |
687 | 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 | |
681 | 13 |
687 | 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 | |
681 | 24 " |
25 | |
682 | 26 if [[ $(id -u) != 0 ]]; then |
27 echo 'root privileges required!..Quiting...' | |
28 exit 1 | |
29 fi | |
30 | |
687 | 31 sleep .3 |
681 | 32 echo 'CONFIGURE: ' |
687 | 33 sleep .3 |
681 | 34 echo -ne 'checking for python' |
687 | 35 sleep .3 |
681 | 36 echo -ne '.' |
687 | 37 sleep .3 |
681 | 38 echo -ne '.' |
687 | 39 sleep .3 |
681 | 40 echo -ne '.' |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
41 if which python >/dev/null; then |
687 | 42 sleep .3 |
682 | 43 echo -ne ' python found :-)' |
681 | 44 echo |
687 | 45 sleep .3 |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
46 else |
687 | 47 sleep .3 |
682 | 48 echo -ne ' python not found. Quiting... :-(' |
681 | 49 echo |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
50 exit 1 |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
51 fi |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
52 |
681 | 53 echo -ne 'checking for man' |
687 | 54 sleep .3 |
681 | 55 echo -ne '.' |
687 | 56 sleep .3 |
681 | 57 echo -ne '.' |
687 | 58 sleep .3 |
681 | 59 echo -ne '.' |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
60 if which man >/dev/null; then |
687 | 61 sleep .3 |
682 | 62 echo -ne ' man found :-)' |
681 | 63 echo |
687 | 64 sleep .3 |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
65 else |
687 | 66 sleep .3 |
682 | 67 echo -ne ' man not found. Quiting... :-(' |
681 | 68 echo |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
69 exit 1 |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
70 fi |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
71 |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
72 PYPATH=`which python` |
681 | 73 echo "configuring splicex for $PYPATH" |
687 | 74 sleep .3 |
681 | 75 echo -ne '.' |
687 | 76 sleep .3 |
681 | 77 echo -ne '.' |
687 | 78 sleep .3 |
681 | 79 echo -ne '.' |
678
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
80 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex.py >LINUX/splicex.cp |
93a5484092a2
removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff
changeset
|
81 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp |
681 | 82 echo "configured...continuing \`make install'" |
687 | 83 sleep .3 |
681 | 84 echo |
85 echo 'INSTALL: ' | |
687 | 86 sleep .3 |