postinst is in texlive-binaries 2017.20170613.44572-8build1.
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 19 20 21 22 | #!/bin/sh -e
# texlive-binaries postinst, created 2008 by Frank K�ster
# probably not copyrightable as it looks now, but anyway the code maybe
# freely copied, distributed and/or modified
# activate the xdvi.bin alternative
case "$1" in
configure|reconfigure)
update-alternatives --install /usr/bin/xdvi.bin xdvi.bin /usr/bin/xdvi-xaw 30
update-alternatives --install /usr/bin/bibtex bibtex \
/usr/bin/bibtex.original 100 \
--slave /usr/share/man/man1/bibtex.1.gz bibtex.1.gz \
/usr/share/man/man1/bibtex.original.1.gz
;;
esac
case "$1" in
configure|reconfigure)
dpkg-trigger texmf-format
;;
esac
|