summaryrefslogtreecommitdiff
path: root/biblio/bibtex/utils/bib2ml/debian/bib2html.postinst
blob: 53f5f5ea050750138be1e0b7b49dc9e95a135a28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -e

if [ "$1" = configure ]; then

	echo -n "Installing bib2html... "

	update-alternatives --install /usr/bin/bib2html bib2html /usr/lib/bib2ml/bib2html.pl 500 --slave /usr/bin/bibtex2html bibtex2html /usr/lib/bib2ml/bib2html.pl
	update-alternatives --auto bib2html

	echo "done."

fi

exit 0