[pybtex] 13/108: Install alternative for /usr/bin/bibtex. Break TeX Live packages that installed this file.
Daniel Stender
stender at moszumanska.debian.org
Fri Jul 21 10:18:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
stender pushed a commit to branch master
in repository pybtex.
commit eb072626eb6432c28d9f6e5887b38c592cb5909e
Author: Jakub Wilk <jwilk at debian.org>
Date: Tue Dec 29 11:13:33 2009 +0000
Install alternative for /usr/bin/bibtex.
Break TeX Live packages that installed this file.
---
debian/changelog | 4 +++-
debian/control | 2 +-
debian/postinst | 6 +++++-
debian/prerm | 1 +
4 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 1691b2c..8599ff1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
pybtex (0.12-2) UNRELEASED; urgency=low
* Don't remove alternatives in prerm/upgrade.
+ * Install alternative for /usr/bin/bibtex.
+ Break TeX Live packages that installed this file.
- -- Jakub Wilk <ubanus at users.sf.net> Mon, 28 Dec 2009 23:19:48 +0100
+ -- Jakub Wilk <ubanus at users.sf.net> Tue, 29 Dec 2009 12:13:14 +0100
pybtex (0.12-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 3392cef..a8a34cc 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/pybtex/trunk/
Package: pybtex
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python-pyparsing
-Breaks: pybliographer (<< 1.2.12-3.1~)
+Breaks: pybliographer (<< 1.2.12-3.1~), texlive-binaries (<< 2009-5~), texlive-base-bin (<< 2009-5~)
Recommends: python-yaml
Description: BibTeX-compatible bibliography processor
Pybtex reads citation information from a file and produces a formatted
diff --git a/debian/postinst b/debian/postinst
index 7970288..c1c4481 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -5,7 +5,11 @@ set -e
case "$1" in
configure)
update-alternatives \
- --install /usr/bin/pybtex pybtex /usr/bin/bibtex.pybtex 200 --slave /usr/share/man/man1/pybtex.1.gz pybtex.1.gz /usr/share/man/man1/bibtex.pybtex.1.gz
+ --install /usr/bin/bibtex bibtex /usr/bin/bibtex.pybtex 90 \
+ --slave /usr/share/man/man1/bibtex.1.gz bibtex.1.gz /usr/share/man/man1/bibtex.pybtex.1.gz
+ update-alternatives \
+ --install /usr/bin/pybtex pybtex /usr/bin/bibtex.pybtex 200 \
+ --slave /usr/share/man/man1/pybtex.1.gz pybtex.1.gz /usr/share/man/man1/bibtex.pybtex.1.gz
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff --git a/debian/prerm b/debian/prerm
index a85dcbc..a3607c1 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -4,6 +4,7 @@ set -e
case "$1" in
remove|deconfigure)
+ update-alternatives --remove bibtex /usr/bin/bibtex.pybtex
update-alternatives --remove pybtex /usr/bin/bibtex.pybtex
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybtex.git
More information about the debian-science-commits
mailing list