This file is indexed.

preinst is in xxgdb 1.12-17build1.

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

set -e

# Remove xaw-wrappers stuff.
if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt-nl 1.12-11; then
	if [ "$2" = 1.12-10 ]; then
		update-alternatives --remove xxgdb /usr/bin/xxgdb.real
	else
		update-alternatives --remove xxgdb /usr/X11R6/bin/xxgdb.real
	fi

	if [ -n "$(type -path update-xaw-wrappers)" ]; then
		update-xaw-wrappers
	fi
fi