#! /bin/sh set -e case "$1" in upgrade|failed-upgrade|abort-install|abort-upgrade) ;; remove|purge|disappear) if which remove-shell >/dev/null && [ -f /etc/shells ]; then remove-shell /bin/bash-static fi ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac exit 0