diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /biblio/bibtex/utils/bib2ml/debian/bib2sql.postinst |
Initial commit
Diffstat (limited to 'biblio/bibtex/utils/bib2ml/debian/bib2sql.postinst')
-rwxr-xr-x | biblio/bibtex/utils/bib2ml/debian/bib2sql.postinst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/biblio/bibtex/utils/bib2ml/debian/bib2sql.postinst b/biblio/bibtex/utils/bib2ml/debian/bib2sql.postinst new file mode 100755 index 0000000000..f4b1b490bf --- /dev/null +++ b/biblio/bibtex/utils/bib2ml/debian/bib2sql.postinst @@ -0,0 +1,16 @@ +#!/bin/bash + +set -e + +if [ "$1" = configure ]; then + + echo -n "Installing bib2sql... " + + update-alternatives --install /usr/bin/bib2sql bib2sql /usr/lib/bib2ml/bib2sql.pl 500 --slave /usr/bin/bibtex2sql bibtex2sql /usr/lib/bib2ml/bib2sql.pl + update-alternatives --auto bib2sql + + echo "done." + +fi + +exit 0 |