postinst is in fp-ide-2.6.2 2.6.2-8.
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 | #! /bin/sh
set -e
# Load debconf
. /usr/share/debconf/confmodule
LIB_DIR="/usr/lib/fpc"
MAN_DIR="/usr/share/man/man1"
# Debhelper code
# add alternatives
update-alternatives \
--install /usr/bin/fp fp /usr/bin/fp-2.6.2 2060200
|