summaryrefslogtreecommitdiff
path: root/debian/bash.postrm
blob: cbfcc30611dff01849b868e6f0cf7e25765ed1d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh -e

if [ "$1" = "purge" ]; then
  rm -f /etc/bash_completion
  rmdir --ignore-fail-on-non-empty /etc/bash_completion.d
fi

if [ -x /usr/sbin/remove-shell ] && [ -f /etc/shells ]; then
    /usr/sbin/remove-shell /bin/bash
    /usr/sbin/remove-shell /bin/rbash
fi

#DEBHELPER#

exit 0