postinst is in libgvc6 2.36.0-0ubuntu3.1.
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/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/config
fi
# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
ldconfig
fi
# End automatically added section
|