-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy pathuninstall.sh
37 lines (37 loc) · 858 Bytes
/
uninstall.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
#! /bin/bash
function nounistall
{
echo -e "Oops, why you want to uninstall me? "
sleep 2
echo -e "If you find our Framework frustrating, make issue!"
sleep 2
echo -e " "
echo -e "Entynetproject corp."
sleep 1
exit
}
echo -e "Do you really want to uninstall the Ehtools from your system?(y/n)(Enter=no): "
read CHUN
if [ "$CHUN" = "y" ]
then
echo -e "If you have any problems please contact me first."
echo -e "Do you still wanna get rid of me?(y/n)(Enter=no): "
read CHCHUN
if [ "$CHCHUN" = "y" ]
then
echo -e "Ok, uninstalling everything that has to do with ehtools on your system"
sleep 4
rm -r /bin/ehtools
echo -e "Done."
sleep 1
echo -e "You need to manually delete the ehtools folder from your /root/ directory though..."
sleep 2
echo -e "Press any key to exit..."
read
exit
else
nounistall
fi
else
nounistall
fi