This file is indexed.

postinst is in qcake 0.7.2-2build1.

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
#!/bin/sh -e
# postinst script for qcake
# copyright 2008-2009 by Gerfried Fuchs <rhonda@debian.at>
# Licenced under WTFPLv2

if [ "$1" != configure ]; then
	exit 0
fi

if dpkg --compare-versions "$2" le-nl "0.7.0-2"; then
	if [ -d /usr/share/doc/qcake ]; then
		if rmdir /usr/share/doc/qcake; then
			ln -s qcake-data /usr/share/doc/qcake
		fi
	fi
fi

if [ -x /usr/bin/update-menus ]; then
	update-menus
fi