26 lines
411 B
Bash

#!/bin/sh
set -e
case "$1" in
configure)
# remove ucf configury
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
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0