File: bash.postrm

package info (click to toggle)
bash 3.1dfsg-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,536 kB
  • ctags: 62
  • sloc: sh: 7,186; makefile: 503; ansic: 467
file content (15 lines) | stat: -rw-r--r-- 294 bytes parent folder | download
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