preinst is in docbook-xsl-doc-html 1.78.1-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 14 15 16 | #! /bin/sh
# preinst script for docbook-xsl-doc-html
#
# see: dh_installdeb(1)
set -e
# If the symlink of docbook-xsl-doc-html (<< 1.74) exists,
# then remove it, so the package can install it's directory.
if [ -h /usr/share/doc/docbook-xsl-doc-html/doc ]; then
rm -f /usr/share/doc/docbook-xsl-doc-html/doc
fi
exit 0
|