[Python-apps-commits] r4391 - in packages/pybtex/trunk/debian (4 files)

jwilk-guest at users.alioth.debian.org jwilk-guest at users.alioth.debian.org
Tue Dec 29 11:13:40 UTC 2009


    Date: Tuesday, December 29, 2009 @ 11:13:33
  Author: jwilk-guest
Revision: 4391

Install alternative for /usr/bin/bibtex.
Break TeX Live packages that installed this file.

Modified:
  packages/pybtex/trunk/debian/changelog
  packages/pybtex/trunk/debian/control
  packages/pybtex/trunk/debian/postinst
  packages/pybtex/trunk/debian/prerm

Modified: packages/pybtex/trunk/debian/changelog
===================================================================
--- packages/pybtex/trunk/debian/changelog	2009-12-28 22:21:22 UTC (rev 4390)
+++ packages/pybtex/trunk/debian/changelog	2009-12-29 11:13:33 UTC (rev 4391)
@@ -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
 

Modified: packages/pybtex/trunk/debian/control
===================================================================
--- packages/pybtex/trunk/debian/control	2009-12-28 22:21:22 UTC (rev 4390)
+++ packages/pybtex/trunk/debian/control	2009-12-29 11:13:33 UTC (rev 4391)
@@ -13,7 +13,7 @@
 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

Modified: packages/pybtex/trunk/debian/postinst
===================================================================
--- packages/pybtex/trunk/debian/postinst	2009-12-28 22:21:22 UTC (rev 4390)
+++ packages/pybtex/trunk/debian/postinst	2009-12-29 11:13:33 UTC (rev 4391)
@@ -5,7 +5,11 @@
 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)

Modified: packages/pybtex/trunk/debian/prerm
===================================================================
--- packages/pybtex/trunk/debian/prerm	2009-12-28 22:21:22 UTC (rev 4390)
+++ packages/pybtex/trunk/debian/prerm	2009-12-29 11:13:33 UTC (rev 4391)
@@ -4,6 +4,7 @@
 
 case "$1" in
     remove|deconfigure)
+        update-alternatives --remove bibtex /usr/bin/bibtex.pybtex
         update-alternatives --remove pybtex /usr/bin/bibtex.pybtex
     ;;
 




More information about the Python-apps-commits mailing list