postinst is in talk 0.17-15.
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
if
[ "$1" != configure ] || [ -z "$2" ] ||
dpkg --compare-versions "$2" lt 0.16-1
then
update-alternatives --install /usr/bin/talk talk \
/usr/bin/netkit-ntalk 100 \
--slave /usr/share/man/man1/talk.1.gz talk.1.gz \
/usr/share/man/man1/netkit-ntalk.1.gz
fi
|