-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·50 lines (43 loc) · 1.09 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
41
42
43
44
45
46
47
48
#!/bin/bash
R="\033[1;31m[*] \033[0m"
B="\033[1;34m[*] \033[0m"
G="\033[1;32m[+] \033[0m"
progress() {
count=0
total=34
pstr="[=======================================================================]"
while [ $count -lt $total ]; do
sleep 0.2 # this is work
count=$(( $count + 1 ))
pd=$(( $count * 73 / $total ))
printf "\r%3d.%1d%% %.${pd}s" $(( $count * 100 / $total )) $(( ($count * 1000 / $total) % 10 )) $pstr
done
}
clear
red="\e[1;91m"
echo -e $red
cat banner/banner.txt
echo
printf "\e[1;92;5m[\e[1;37;5m+\e[92m]\e[1;34;5m Script By : Albin Joseph C. R \e[0m\e[1;5m[ UCEH ]\e[0m"
echo
echo
echo -e $B"Installing CCS Script..."
sudo chmod +x ccs
sudo cp ccs /usr/bin/ccs
sudo mkdir /home/$(whoami)/ccs
sudo mkdir /home/$(whoami)/ccs/Output
sudo cp -R banner /home/$(whoami)/ccs/banner
progress
sleep 1
clear
echo
echo -e $G"Made Working Directory in $(whoami)"
sleep 1
echo
echo -e $B"Successfully Installed CCS Script! "
echo
echo -e $G"Type ccs in Terminal to Launch the CCS Script! "
echo
echo -e $B"Buy Me A Coffee!, Visit: https://in.linkedin.com/in/albinjosephcr"
echo
exit 0