diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-12 13:13:20 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-14 16:16:47 -0800 |
commit | fc7695ee76400ee9833301f98a3fe483d64591b5 (patch) | |
tree | 15b568f5adfa956817cf9f5a1652c43d33d8efa9 /debian/bash.postrm | |
parent | b7fc9e0f6d6105ba2203f219743d4b269415e84b (diff) | |
download | vyatta-bash-fc7695ee76400ee9833301f98a3fe483d64591b5.tar.gz vyatta-bash-fc7695ee76400ee9833301f98a3fe483d64591b5.zip |
initial import from bash_3.1dfsg-8.diff.gzupstream
Diffstat (limited to 'debian/bash.postrm')
-rw-r--r-- | debian/bash.postrm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/bash.postrm b/debian/bash.postrm new file mode 100644 index 0000000..cbfcc30 --- /dev/null +++ b/debian/bash.postrm @@ -0,0 +1,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 |