File: openvswitch-common.postinst

package info (click to toggle)
openvswitch 3.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 99,608 kB
  • sloc: sh: 1,683,183; ansic: 313,349; python: 28,192; xml: 21,442; makefile: 546; javascript: 191
file content (12 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "3.1.2-3~" ; then
	# remove obsolete alternative from bullseye
	update-alternatives --remove ovs-vswitchd /usr/lib/openvswitch-common/ovs-vswitchd
fi

#DEBHELPER#

exit 0