This file is indexed.

preinst is in gerris 20131206+dfsg-7.

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 -e

# From version 20090512-dfsg.1-1, there are both arch-dependent and 
# arch-independent files in upstream's /usr/lib/gerris (with module libstokes
# added), so can no longer take /usr/lib/gerris as a symlink to 
# /usr/share/gerris/lib.
if [ "$1" = "upgrade" ]; then
    if dpkg --compare-versions "$2" lt-nl 20090512-dfsg.1-1; then
	if [ -L /usr/lib/gerris ]; then
		echo "Removing deprecated symlink /usr/lib/gerris"
		rm /usr/lib/gerris
	fi
    fi
fi