This file is indexed.

postinst is in libgvc5 2.26.3-10ubuntu1.2.

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
16
17
18
19
20
21
#!/bin/sh

set -e

# Update the configuration file (/usr/lib/graphviz/config6)
# Needed for the plugins too
if [ -x /usr/sbin/libgvc5-config-update ]; then
	libgvc5-config-update -c
fi

# Remove the old configuration file if present, see README.Debian-packaging
# Needed only in libgraphivzN
if [ -f /usr/lib/graphviz/config ]; then
	rm -f /usr/lib/graphviz/config
fi

# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
	ldconfig
fi
# End automatically added section