#!/bin/sh # $FreeBSD: head/www/havp/files/pkg-deinstall.in 340719 2014-01-22 15:52:06Z mat $ if [ "$2" != "POST-DEINSTALL" ]; then exit 0 fi HAVP_USER=havp echo echo "====================================================" echo echo "If you want remove havp permanently from you system" echo "execute following commands:" echo echo " # rm -rf %%LOG_DIR%%" echo " # rm -rf %%RUN_DIR%%" echo " # rm -rf %%TMP_DIR%%" if pw usershow "${HAVP_USER}" 2>/dev/null 1>&2; then echo " # pw userdel ${HAVP_USER}" fi echo echo "====================================================" echo exit 0