# Short script to uninstall Ocarina INSTALLDIR=/opt/ocarina if [ "$(id -u)" != "0" ]; then #echo "This script must be run as root" echo "Attempting to run script as root" sudo sh $0 exit 1 fi if [ -d $INSTALLDIR ]; then echo "Removing $INSTALLDIR" rm -rf $INSTALLDIR else echo "$INSTALLDIR does not seem to exist..." fi