-
Notifications
You must be signed in to change notification settings - Fork 110
/
install
31 lines (30 loc) · 764 Bytes
/
install
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
#!/bin/sh
# Tool Name :- MyServer
# Date :- 23/5/2018 - 22/July/2019
main() {
if [ -e /usr/lib/sudo ];then
if [ ! -e /usr/bin/python3 ];then
apt-get update
apt-get install python -y
sudo apt-get install python3 -y
fi
else
if [ -d /usr/bin ];then
if [ ! -e /usr/bin/python3 ];then
apt-get update
apt-get install python -y
apt-get install python3 -y
fi
fi
fi
if [ ! -d /usr/bin ];then
if [ ! -e /data/data/com.termux/files/usr/bin/python3 ];then
pkg update
pkg install python -y
pkg install python3 -y
fi
fi
python3 .setup.aex
exit
}
main