Files
Sourcetrail/setup/Linux/deinstall.sh
T
Andreas Stallinger 23fbe6c384 script: move forced test to precommit hook
NOTE: run setup.sh script to update the hooks
* commit message after building and testing
* pushing tags does not run builds and tests
2016-04-14 11:46:53 +02:00

21 lines
435 B
Bash
Executable File

MY_PATH=`dirname "$0"`
MY_PATH=../$MY_PATH
echo "Remove coati form system"
printf 'enter [y/n] '
read ans
case ${ans:=y} in [yY]*) ;; *) exit ;; esac
echo "Run this script as root"
rm /usr/bin/coati
rm /usr/share/mime/packages/coati-mime.xml
rm /usr/share/applications/coati.desktop
rm /usr/share/icons/coati.png
rm /usr/share/icons/project-coati.png
rm /opt/coati -rf
update-mime/database /usr/share/mime
update-desktop-database