26 lines
432 B
Bash
26 lines
432 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
purge)
|
|
rm -f /etc/bash_completion
|
|
if which ucf >/dev/null; then
|
|
ucf --purge /etc/bash_completion
|
|
fi
|
|
if which ucfr >/dev/null; then
|
|
ucfr --purge bash-completion /etc/bash_completion
|
|
fi
|
|
;;
|
|
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
|
;;
|
|
*)
|
|
echo "postrm called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|