preinst is in libsdl-gfx1.2-dev 2.0.25-9.
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 | #!/bin/sh
set -e
# bug #700785, was a symlink to 'libsdl-gfx1.2-4' in the past, so it will remove
# files from there (e.g. debian/copyright)
DOCDIR=/usr/share/doc/libsdl-gfx1.2-dev
if [ -L "$DOCDIR" ]; then
rm "$DOCDIR"
fi
|