preinst is in libfontconfig1-dev 2.8.0-3ubuntu9.2.
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 | #!/bin/sh
set -e
# this can be dropped after the oneiric release
# remove bogus symlinks introduced with upgrades to 2.8.0-3 which should never
# have reached oneiric
pkg=libfontconfig1-dev
doc="/usr/share/doc/$pkg"
if [ -L "$doc" ]; then
rm -f "$doc"
fi
|