diff options
Diffstat (limited to 'debian/openvswitch-switch-dpdk.prerm')
-rw-r--r-- | debian/openvswitch-switch-dpdk.prerm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/openvswitch-switch-dpdk.prerm b/debian/openvswitch-switch-dpdk.prerm new file mode 100644 index 000000000..dc897dc3f --- /dev/null +++ b/debian/openvswitch-switch-dpdk.prerm @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e + +case "$1" in + remove) + update-alternatives --remove ovs-vswitchd /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk + ;; + + deconfigure|upgrade|failed-upgrade) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + |