]> git.proxmox.com Git - mirror_ovs.git/blob - debian/ovn-common.postinst
Prepare for post-2.7.0 (2.7.90).
[mirror_ovs.git] / debian / ovn-common.postinst
1 #!/bin/sh
2 # postinst script for ovn-common
3 #
4 # see: dh_installdeb(1)
5
6 set -e
7
8 case "$1" in
9 configure)
10 mkdir -p /usr/lib/ocf/resource.d/ovn
11 ln -sf /usr/share/openvswitch/scripts/ovndb-servers.ocf /usr/lib/ocf/resource.d/ovn/ovndb-servers
12 ;;
13 abort-upgrade|abort-remove|abort-deconfigure)
14 ;;
15
16 *)
17 echo "postinst called with unknown argument \`$1'" >&2
18 exit 1
19 ;;
20 esac
21
22 #DEBHELPER#
23
24 exit 0