-
Notifications
You must be signed in to change notification settings - Fork 23
/
install.sh
40 lines (40 loc) · 1.12 KB
/
install.sh
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
echo "Chcking Package..."
sleep 5
bin=$PREFIX/bin
dir=$(pwd)
if [ -e $bin/git ]; then
echo -e "\u001b[32mSkip install git but already installed!"
else
echo -e "\u001b[31mInstaling \u001b[31mgit!"
pkg install git -y
echo -e "\u001b[32mDone install git!"
fi
if [ -e $bin/python ]; then
echo -e "\u001b[32mSkip install python but already installed!"
else
echo -e "\u001b[31mInstaling \u001b[31mpython!"
pkg install python -y
echo -e "\u001b[32mDone install python!"
fi
if [ -e $bin/python2 ]; then
echo -e "\u001b[32mSkip install python2 but already installed!"
else
echo -e "\u001b[31mInstaling \u001b[31mpython2!"
pkg install python2 -y
echo -e "\u001b[32mDone install python2!"
fi
if [ -e $bin/bash ]; then
echo -e "\u001b[32mSkip install bash but already installed!"
else
echo -e "\u001b[31mInstaling \u001b[31mbash!"
pkg install bash -y
echo -e "\u001b[32mDone install bash!"
fi
echo -e "\u001b[32mInstalling pip"
sleep 5
pip install colorama bs4 requests pyfiglet tqdm
pip2 install colorama bs4 requests pyfiglet tqdm
echo -e "\u001b[32mDone installing pip!"
echo -e "Running Tools..."
sleep 5
python run.py