This file is indexed.

postinst is in libgvc6 2.40.1-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
#!/bin/sh

set -e

# Update the configuration file (/usr/lib/graphviz/config6a)
# Needed for the plugins too
if [ -x /usr/sbin/libgvc6-config-update ]; then
	libgvc6-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/config6
fi
# the current one is now /usr/lib/graphviz/config6a
if [ -f /usr/lib/graphviz/config6a ]; then
	rm -f /usr/lib/graphviz/config6
fi