This file is indexed.

postinst is in openvswitch-brcompat 1.4.0-1ubuntu1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#!/bin/sh

set -e

# If openvswitch-switch is installed, and then later openvswitch-brcompat is
# installed, make sure that ovs-brcompatd starts.
if test X"$1" = Xconfigure && \
   test -x /etc/init.d/openvswitch-switch && \
   test -e /var/run/openvswitch/ovs-vswitchd.pid; then
    invoke-rc.d openvswitch-switch start || exit $?
fi



exit 0