# $OpenBSD: DEINSTALL,v 1.1 1999/12/10 15:16:59 brad Exp $
#
# bash de-installation

set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}

if grep -q ${PREFIX}/bin/bash /etc/shells; then
    echo
    echo "+---------------"
    echo "| To completely deinstall the $1 package you need to edit"
    echo "| /etc/shells and remove this line:"
    echo "|"
    echo "|           ${PREFIX}/bin/bash"
    echo "|"
    echo "+---------------"
    echo
fi

exit 0
