-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathupdate.sh
64 lines (61 loc) · 1.46 KB
/
update.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#colour section
red='\033[1;31m'
rset='\033[0m'
grn='\033[1;32m'
ylo='\033[1;33m'
#script coding starts
clear
echo " "
echo " "
echo "
##::::'##:'########::'########:::::'###::::'########:'#######
##:::: ##: ##.... ##: ##.... ##:::'## ##:::... ##..:: ##.....
##:::: ##: ##:::: ##: ##:::: ##::'##:. ##::::: ##:::: ##:::::
##:::: ##: ########:: ##:::: ##:'##:::. ##:::: ##:::: #######
##:::: ##: ##.....::: ##:::: ##: #########:::: ##:::: ##.....
##:::: ##: ##:::::::: ##:::: ##: ##.... ##:::: ##:::: ##:::::
. #######:: ##:::::::: ########:: ##:::: ##:::: ##:::: #######
:.......:::..:::::::::........:::..:::::..:::::..:::::........
"|lolcat
echo " "
echo " "
sleep 5.0
clear
echo -e "$red ▰▱▱▱▱▱▱ checking..$rset"
sleep 0.8
clear
echo -e "$red ▰▰▱▱▱▱▱ checking..$rset"
sleep 0.8
clear
echo -e "$red ▰▰▰▱▱▱▱ checking..$rset"
sleep 0.8
clear
echo -e "$red ▰▰▰▰▱▱▱ checking..$rset"
sleep 0.8
clear
echo -e "$ylo ▰▰▰▰▰▱▱ checking..$rset"
sleep 0.8
clear
echo -e "$ylo ▰▰▰▰▰▰▱ checking..$rset"
sleep 0.8
clear
echo -e "$ylo ▰▰▰▰▰▰▰ checking..$rset"
sleep 0.8
clear
echo " "
echo " "
echo -e "$grn Updating the Drishti please wait.... $ylo"
echo " "
echo " "
sleep 2.0
cd $HOME
rm -rf Drishti
git clone https://github.com/INDIANCYBEROPS/Drishti
clear
echo " "
echo -e "$grn Drishti has been updated check it now...$rset"
sleep 3.0
echo " "
cd $HOME
cd Drishti
node main.js