]> git.proxmox.com Git - frr.git/blame - debian/frr.prerm
Format Build-Depends
[frr.git] / debian / frr.prerm
CommitLineData
bf024873
AD
1#!/bin/bash -e
2
3if [ -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
11case $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
21esac
22
23#DEBHELPER#