preinst is in libwmf-bin 0.2.8.4-12.
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 | #!/bin/sh
set -e
# upgrades from versions older than 0.2.8.4-7ubuntu2 might have a symlink in
# /usr/share/doc/libwmf-bin -> libwmf0.2-7
if [ "$1" = upgrade ] && [ -L /usr/share/doc/libwmf-bin ]; then
rm -f /usr/share/doc/libwmf-bin
fi
|