#! /bin/sh
# postinst script for ash-knoppix
#
# see: dh_installdeb(1)

case "$1" in
    configure)
        grep -q '^/bin/ash$' /etc/shells 2>/dev/null || echo "/bin/ash" >> /etc/shells
        grep -q '^/bin/ash.static$' /etc/shells 2>/dev/null || echo "/bin/ash.static" >> /etc/shells
        grep -q '^/bin/bsh$' /etc/shells 2>/dev/null || echo "/bin/bsh" >> /etc/shells
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)

    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 0
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0
