postinst is in libfltk1.1-dev 1.1.10-23.
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 17 18 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
case "$1" in
configure)
db_get libfltk1.1-dev/header-links
if [ "$RET" = "true" ]; then
ln=ln
else
ln=:
fi
(cd /usr/include/FL
for H in *.H; do h=`basename $H .H`.h; rm -f $h && $ln -s $H $h; done)
;;
esac
|