#! /bin/sh # $FreeBSD$ if [ "$2" != "POST-DEINSTALL" ]; then exit 0 fi OPENACS_USER=%%OPENACS_USER%% OPENACS_GROUP=%%OPENACS_GROUP%% OPENACSBASE=%%OPENACSBASE%% PW=%%PW%% if ${PW} usershow "${OPENACS_USER}" 2>/dev/null 1>&2; then echo "" echo "To delete ${OPENACS_USER} user permanently, use the following command:" echo "${PW} userdel \"${OPENACS_USER}\"" fi if ${PW} groupshow "${OPENACS_GROUP}" 2>/dev/null 1>&2; then echo "" echo "To delete ${OPENACS_GROUP} group permanently, use the following command:" echo "${PW} groupdel \"${OPENACS_GROUP}\"" fi if test -d "${OPENACSBASE}"; then echo "" echo "Directory ${OPENACSBASE} is not empty, you may want to check its contents" echo "and remove it manually." fi exit 0