This file is indexed.

postinst is in groff 1.22.2-5.

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
#! /bin/sh
set -e

[ "$1" = configure ] || exit 0

if dpkg --compare-versions "$2" lt-nl 1.17-1; then
    # dpkg won't replace the directory /usr/share/doc/groff with a symlink,
    # so do that now.
    if [ ! -L /usr/share/doc/groff ] && [ -d /usr/share/doc/groff ]; then
	if rmdir /usr/share/doc/groff 2>/dev/null; then
	    ln -sf groff-base /usr/share/doc/groff
	fi
    fi
fi



exit 0