preinst is in openafs-fileserver 1.8.0~pre5-1.
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 | #!/bin/sh
set -e
# lenny versions of openafs-fileserver symlinked the doc directory to
# openafs-client. This was changed in 1.4.12+dfsg-1, but the symlink was
# never removed, and dpkg won't remove symlinks to a directory. Belatedly
# clean up so that we don't overwrite doc files in openafs-client.
#
# This cleanup was added in 1.6.2~pre2-1 and can be removed after the jessie
# release.
test ! -L /usr/share/doc/openafs-fileserver \
|| rm /usr/share/doc/openafs-fileserver
|