forked from arismelachroinos/lscript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uninstall.sh
37 lines (37 loc) · 845 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 "I knew you are still lazy :D :D "
sleep 2
echo -e "If you want any feature to be added, contact me on FB"
sleep 2
echo -e " "
echo -e "Aris"
sleep 1
exit
}
echo -e "Do you really want to uninstall the Lazy script 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 lscript on your system"
sleep 4
rm -r /bin/lscript
echo -e "Done."
sleep 1
echo -e "You need to manually delete the lscript folder from your /root/ directory though..."
sleep 2
echo -e "Press any key to exit..."
read
exit
else
nounistall
fi
else
nounistall
fi