#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.3 2000/12/07 18:05:29 todd Exp $
#
# bash2 de-installation

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

if grep -q /usr/local/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 "|           /usr/local/bin/bash"
    echo "|"
    echo "+---------------"
    echo
fi

exit 0
