preinst is in sgml-data 2.0.6.
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
# sgml-data preinst
# jobs: remove directories which are replaced by symlinks
set -e
if [ "$1" = upgrade ]; then
if [ -d /usr/share/sgml/entities/xml-iso-entities-8879.1986 ]; then
rm -rf /usr/share/sgml/entities/xml-iso-entities-8879.1986
fi
fi
# automatically generated debhelper commands
exit 0
|