File: bash.postrm

package info (click to toggle)
bash 2.05b-2-26
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,336 kB
  • ctags: 50
  • sloc: sh: 45,451; makefile: 446; ansic: 268
file content (13 lines) | stat: -rw-r--r-- 260 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /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 ]; then
  /usr/sbin/remove-shell /bin/bash
  /usr/sbin/remove-shell /bin/rbash
fi

#DEBHELPER#