]> git.proxmox.com Git - openvswitch.git/blob - pvepatches/remove-init-script-on-upgrades.patch
remove openvswitch-switch init script
[openvswitch.git] / pvepatches / remove-init-script-on-upgrades.patch
1 diff --git a/debian/openvswitch-switch.postinst b/debian/openvswitch-switch.postinst
2 index 2464572..160b37b 100755
3 --- a/debian/openvswitch-switch.postinst
4 +++ b/debian/openvswitch-switch.postinst
5 @@ -33,6 +33,10 @@ case "$1" in
6 fi
7 done
8 fi
9 +
10 + if dpkg --compare-versions "$2" le "2.6.0-1"; then
11 + rm -f /etc/init.d/openvswitch-switch
12 + fi
13 ;;
14
15 abort-upgrade|abort-remove|abort-deconfigure)