forked from Manisso/Crips
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
51 lines (46 loc) · 2.15 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
49
50
51
#!/bin/bash
clear
echo "
███╗ ███╗ █████╗ ███╗ ██╗██╗███████╗███████╗ ██████╗
████╗ ████║██╔══██╗████╗ ██║██║██╔════╝██╔════╝██╔═══██╗
██╔████╔██║███████║██╔██╗ ██║██║███████╗███████╗██║ ██║
██║╚██╔╝██║██╔══██║██║╚██╗██║██║╚════██║╚════██║██║ ██║
██║ ╚═╝ ██║██║ ██║██║ ╚████║██║███████║███████║╚██████╔╝
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝╚══════╝╚══════╝ ╚═════╝
▀▀█▀▀ █▀▀█ █▀▀█ █ █▀▀ ~ Tools Instaler By Ⓜ Ⓐ Ⓝ Ⓘ Ⓢ Ⓢ Ⓞ ☪ ~
█ █ █ █ █ █ ▀▀█
▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀
";
echo "[✔] Checking directories...";
if [ -d "/usr/share/doc/Crips" ] ;
then
echo "[◉] A directory Crips was found! Do you want to replace it? [Y/n]:" ;
read mama
if [ $mama == "y" ] ;
then
rm -R "/usr/share/doc/Crips"
else
exit
fi
fi
echo "[✔] Installing ...";
echo "";
git clone https://github.com/Manisso/Crips.git /usr/share/doc/Crips;
echo "#!/bin/bash
python /usr/share/doc/Crips/crips.py" '${1+"$@"}' > crips;
chmod +x crips;
sudo cp crips /usr/bin/;
rm crips;
if [ -d "/usr/share/doc/Crips" ] ;
then
echo "";
echo "[✔]Tool istalled with success![✔]";
echo "";
echo "[✔]====================================================================[✔]";
echo "[✔] ✔✔✔ All is done!! You can execute tool by typing crips ! ✔✔✔ [✔]";
echo "[✔]====================================================================[✔]";
echo "";
else
echo "[✘] Installation faid![✘] ";
exit
fi