#! /bin/sh
if [ "`whoami`" != "root" ] ; then
	echo ""
	echo You are not root.
	echo Only the superuser can delete a GateKeeper.
	exit 1
fi

#
#	remove GateKeeper app wrapper 
#

cd ${2}
if ( test -r ./GateKeeper.app ) ; then
	/bin/rm -rf ./GateKeeper.app
fi
	echo "post delete script complete"
exit 0
