summaryrefslogtreecommitdiffstats
path: root/debian/tdb-tools.prerm
blob: 13743f54dd5bc514fad6c94b0f3dc7f46a1d42ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/sh
# prerm script for tdb-tools
#
# see: dh_installdeb(1)

set -e

case "$1" in
    remove|upgrade|deconfigure)
    update-alternatives --remove tdbbackup /usr/bin/tdbbackup.tdbtools
        ;;
    failed-upgrade)
        ;;
    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0