#
# Remove script for Midi device driver
#

TMP=/tmp/midi.err
RERR="An error was encountered while removing the Midi Driver Package.
The file $TMP contains errors reported by the system."

echo "Removing Midi Device Driver Package..."

/etc/conf/bin/idinstall -d midi 2> $TMP
if [ $? != 0 ]
then
	message $RERR
	exit 1
fi

/etc/conf/bin/idbuild 2>> $TMP
if [ $? != 0 ]
then
	message $RERR
	exit 1
fi

rm -f $TMP
exit 0
