#
#ident	"@(#)removepkg	1.2  (Prime) 9/9/88"
#

# RC=`/usr/vmsys/admin/.chkuser -u`
# if [ "$RC" = "1" ]
RC=`id | sed -e 's/uid=//' -e 's/(.*//'`
if [ "$RC" != "0" ]
then
	message -d "You (${LOGNAME}) do not have permission to perform software \
removal.  Please consult your Operations/System Administration Guide for more \
information on assigning permissions to privileged operations."
	exit 1
fi
# exec /usr/vmsys/admin/.chkuser -c "/usr/lbin/removepkg.r $*"
/usr/lbin/removepkg.r $*
