]>
Commit | Line | Data |
---|---|---|
4d916382 DS |
1 | #!/bin/bash -e |
2 | ||
3 | . /usr/share/debconf/confmodule | |
4 | ||
5 | if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi | |
6 | ${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*"} | |
7 | ||
8 | # prerm remove | |
9 | # old-prerm upgrade new-version | |
10 | # new-prerm failed-upgrade old-version | |
11 | # conflictor's-prerm remove in-favour package new-version | |
12 | # deconfigured's-prerm deconfigure in-favour package-being-installed version removing conflicting-package | |
13 | case $1 in | |
14 | remove|upgrade) | |
4d916382 DS |
15 | ;; |
16 | ||
17 | failed-upgrade) | |
18 | # If quagga/really_stop was negated then this script exits with return | |
19 | # code 1 and is called again with "failed-upgrade". Well, exit again. | |
20 | exit 1 | |
21 | ;; | |
22 | ||
23 | esac | |
24 | ||
25 | #DEBHELPER# |