#!/bin/sh
# Copyright (C) 2003-2006 SpeedSix Software Ltd.
#
# Uninstall SpeedSix Lenz Raptor for Discreet Advanced Systems (32 bit) on Burn.
#

echo
echo "Un-installing SpeedSix Lenz Raptor for Discreet Advanced Systems (32 bit) on Burn."
echo "=============================================================================="
#echo "        Please consult the release notes for more information."
echo

if [ "`whoami`" != "root" ]; then
        echo "You need to be root to run this script. You can become root"
        echo "by using the command su. Please do this, then restart the"
        echo "un-installation with ./uninstall-discreet-burn-lenz-raptor"
        exit 1
fi

echo
echo -n "Are you sure you want to un-install? [y or n] > "
read inp
case $inp in
    y*) break;;
    *) echo "OK ... leaving everything installed ... "; exit 1;;
esac
echo

#
# Now remove the package.
#

rpm -ev discreet-burn-lenz-raptor

echo
echo "Un-install completed."
echo
exit 0
