2021-09-11 20:08:46 -07:00
|
|
|
#!/usr/bin/bash
|
|
|
|
if [ ! $(whoami) = "root" ]
|
|
|
|
then
|
|
|
|
if [ -f "/usr/bin/dialog" ] || [ -f "/usr/sbin/dialog" ] || [ -f "/usr/games/dialog" ]
|
|
|
|
then
|
|
|
|
dialog --title "root" --msgbox "You need run this script as root" 0 0
|
|
|
|
else
|
|
|
|
echo "You need run this script as root"
|
|
|
|
fi
|
|
|
|
clear
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "remove tcs-cleaner if it's installed"
|
|
|
|
rm -vrf /usr/bin/tcs-cleaner
|
2021-09-11 20:10:30 -07:00
|
|
|
rm -vrf /usr/bin/tcs-cleaner-remove
|
2021-09-12 09:36:00 -07:00
|
|
|
|
|
|
|
rm -vrf /usr/share/applications/tcs-cleaner*
|
|
|
|
rm -vrf /usr/share/icons/hicolor/256x256/apps/tcs-cleaner.png
|