Debian Codegraph @

debian/texlive-binaries.postinst

raw
1 #!/bin/sh
2 # texlive-binaries postinst, created 2008 by Frank Küster
3 # probably not copyrightable as it looks now, but anyway the code maybe
4 # freely copied, distributed and/or modified
5
6 set -e
7
8 # activate the xdvi.bin alternative
9 case "$1" in
10 configure|reconfigure)
11 update-alternatives --install /usr/bin/xdvi.bin xdvi.bin /usr/bin/xdvi-xaw 30
12 update-alternatives --install /usr/bin/bibtex bibtex \
13 /usr/bin/bibtex.original 100 \
14 --slave /usr/share/man/man1/bibtex.1.gz bibtex.1.gz \
15 /usr/share/man/man1/bibtex.original.1.gz
16 ;;
17 esac
18
19 case "$1" in
20 configure|reconfigure)
21 dpkg-trigger texmf-format
22 ;;
23 esac
24
25 #DEBHELPER#
26