forked from vaibhavguru/https-github.com-Rajkumrdusad-Tool-X
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.aex
69 lines (68 loc) · 1.51 KB
/
install.aex
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
# Tool Name :- Tool-X
# Author :- Rajkumar dusad
# Date :- 1/11/2017
# Powered By :- Aex Software's
if [ -e /usr/lib/sudo ];then
if [ -e /usr/bin/apt-get ];then
if [ ! -e /usr/bin/python2 ];then
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install python -y
sudo apt-get install python2 -y
fi
fi
else
if [ -d /usr/bin ];then
if [ -e /usr/bin/apt-get ];then
if [ ! -e /usr/bin/python2 ];then
apt-get update
apt -get upgrade -y
apt-get install python -y
apt-get install python2 -y
fi
fi
fi
fi
if [ -d /data/data/com.termux/files/usr/bin ]; then
if [ ! -e /data/data/com.termux/files/usr/bin/python2 ];then
pkg update
pkg upgrade -y
pkg install python -y
pkg install python2 -y
fi
fi
if [ -e /usr/lib/sudo ];then
if [ -e /usr/bin/yum ];then
if [ ! -e /usr/bin/python2 ];then
sudo yum update
sudo yum upgrade -y
sudo yum install python -y
sudo yum install python2 -y
fi
fi
else
if [ -d /usr/bin ];then
if [ -e /usr/bin/yum ];then
if [ ! -e /usr/bin/python2 ];then
yum update
yum upgrade -y
yum install python -y
yum install python2 -y
fi
fi
fi
fi
if [ -e /usr/lib/brew ];then
if [ ! -e /usr/bin/python2 ];then
brew install python -y
brew install python2 -y
fi
fi
if [ -e /usr/bin/brew ];then
if [ ! -e /usr/bin/python ];then
brew install python -y
brew install python2 -y
fi
fi
python2 .install.py
exit