preinst is in xorg 1:7.6+12ubuntu1.
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 | #!/bin/sh
set -e
# Undo doc-dir symlinking. Leave this to pkgbinarymangler.
# This can be removed after the next LTS
if [ "$1" = upgrade ] && [ -L /usr/share/doc/xorg ]; then
rm -f /usr/share/doc/xorg
fi
|