This file is indexed.

postinst is in python-zope.interface-dbg 4.0.5-1ubuntu4.

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

set -e

if [ "$1" = "configure" ]; then
   DOC_DIR="/usr/share/doc/python-zope.interface-dbg"
    if [ -d "$DOC_DIR" -a ! -L "$DOC_DIR" ] && rmdir "$DOC_DIR" 2> /dev/null; then
        ln -sf /usr/share/doc/python-zope.interface "$DOC_DIR"
    fi
fi



exit 0