# $NetBSD: INSTALL,v 1.1 2000/05/27 09:53:38 wiz Exp $ # if [ "$2" != "PRE-INSTALL" ]; then exit 0 fi if [ -f /usr/sbin/user ] then USER_CMD=/usr/sbin/user GROUP_CMD=/usr/sbin/group else if [ -f ${PKG_PREFIX}/sbin/user ] then USER_CMD=${PKG_PREFIX}/sbin/user GROUP_CMD=${PKG_PREFIX}/sbin/group else echo echo Please install the sysutils/user first! echo exit 0 fi fi if `${GROUP_CMD} info -e glunix` ; then \ ${ECHO} Group \'glunix\' already exists.; \ else \ ${GROUP_CMD} add glunix; \ fi if `${USER_CMD} info -e glunix` ; then \ ${ECHO} User \'glunix\' already exists.; \ else \ ${USER_CMD} add -g glunix -d /nonexistent -s \ ${PKG_PREFIX}/now/bin/glush glunix; \ fi