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