SCRIPT="$0"
case "${SCRIPT}" in
/*)
;;
*)
if [ -f "${SCRIPT}" ]
then
SCRIPT="`pwd`/${SCRIPT}"
else
SCRIPT="`which ${SCRIPT}`"
fi
;;
esac
cd /
if [ ! -f "${SCRIPT}" ]
then
echo "Cannot find the location of the install script ($SCRIPT) ?"
exit 1
fi
SKIP=`awk '/^__ARCHIVE_FOLLOWS__/ { print NR + 1; exit 0; }' ${SCRIPT}`
if id | grep root > /dev/null
then
:
else
echo "You must be root to install these tools."
exit 1
fi