Followup-For: Bug #1036569 Control: tag -1 patch find attached a patch to reintroduce openvswictch-common.postinst which clean up the forgotten alternative
Andreas
>From 082e6d3c316f32e203debc285fa1c20ba460c3b1 Mon Sep 17 00:00:00 2001 From: Andreas Beckmann <a...@debian.org> Date: Fri, 30 Jun 2023 14:19:38 +0200 Subject: [PATCH] Remove obsolete alternative dating back to bullseye Closes: #1036569 --- debian/openvswitch-common.postinst | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 debian/openvswitch-common.postinst diff --git a/debian/openvswitch-common.postinst b/debian/openvswitch-common.postinst new file mode 100644 index 000000000..3949d46df --- /dev/null +++ b/debian/openvswitch-common.postinst @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "3.1.2-2~" +then + # remove obsolete alternative from bullseye + update-alternatives --remove ovs-vswitchd /usr/lib/openvswitch-common/ovs-vswitchd +fi + +#DEBHELPER# -- 2.20.1