]> git.proxmox.com Git - mirror_frr.git/blob - debianpkg/frr.prerm
Merge pull request #13649 from donaldsharp/unlock_the_node_or_else
[mirror_frr.git] / debianpkg / frr.prerm
1 #!/bin/bash -e
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
6 # prerm remove
7 # old-prerm upgrade new-version
8 # new-prerm failed-upgrade old-version
9 # conflictor's-prerm remove in-favour package new-version
10 # deconfigured's-prerm deconfigure in-favour package-being-installed version removing conflicting-package
11 case $1 in
12 remove|upgrade)
13 ;;
14
15 failed-upgrade)
16 # If frr/really_stop was negated then this script exits with return
17 # code 1 and is called again with "failed-upgrade". Well, exit again.
18 exit 1
19 ;;
20
21 esac
22
23 #DEBHELPER#