migration from private to rsa
[external/bash.git] / debian / bash.postrm
1 #! /bin/sh
2
3 set -e
4
5 case "$1" in
6     upgrade|failed-upgrade|abort-install|abort-upgrade)
7         ;;
8     remove|purge|disappear)
9         if which remove-shell >/dev/null && [ -f /etc/shells ]; then
10             remove-shell /bin/bash
11             remove-shell /bin/rbash
12         fi
13         ;;
14     *)
15         echo "postrm called with unknown argument \`$1'" >&2
16         exit 1
17         ;;
18 esac
19
20 #DEBHELPER#
21
22 exit 0