preinst is in xserver-xorg-video-all 1:7.7+1ubuntu8.
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/xserver-xorg-video-all ]; then
rm -f /usr/share/doc/xserver-xorg-video-all
fi
|