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