Followup-For: Bug #700300 Attaching the patch.
Andreas
diffstat for libinfinity-0.5.2 libinfinity-0.5.2 changelog | 10 ++++++++++ control | 2 +- infinoted.preinst | 11 +++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) diff -Nru libinfinity-0.5.2/debian/changelog libinfinity-0.5.2/debian/changelog --- libinfinity-0.5.2/debian/changelog 2012-11-27 14:32:21.000000000 +0100 +++ libinfinity-0.5.2/debian/changelog 2013-02-11 13:36:07.000000000 +0100 @@ -1,3 +1,13 @@ +libinfinity (0.5.2-6.1) unstable; urgency=low + + * Non-maintainer upload. + * infinoted: Add Breaks: infinoted-0.4, infinoted-0.3 as they handled + /usr/bin/infinoted via alternatives. + * infinoted.preinst: Remove the alternative left over after removal of + infinoted-0.4. (Closes: #700300) + + -- Andreas Beckmann <a...@debian.org> Mon, 11 Feb 2013 13:17:42 +0100 + libinfinity (0.5.2-6) unstable; urgency=low * Add a patch that fixes a crash when trying to show a selection diff -Nru libinfinity-0.5.2/debian/control libinfinity-0.5.2/debian/control --- libinfinity-0.5.2/debian/control 2012-10-24 00:06:54.000000000 +0200 +++ libinfinity-0.5.2/debian/control 2013-02-11 10:45:59.000000000 +0100 @@ -101,7 +101,7 @@ Pre-Depends: dpkg (>= 1.15.6) Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: infinoted-0.5 (<< 0.5.2-3~) -Breaks: infinoted-0.5 (<< 0.5.2-3~) +Breaks: infinoted-0.5 (<< 0.5.2-3~), infinoted-0.4, infinoted-0.3 Description: dedicated server for infinote-based collaborative editing infinoted is a dedicated server which allows clients to edit plain text documents and source files collaboratively over a network. Changes diff -Nru libinfinity-0.5.2/debian/infinoted.preinst libinfinity-0.5.2/debian/infinoted.preinst --- libinfinity-0.5.2/debian/infinoted.preinst 1970-01-01 01:00:00.000000000 +0100 +++ libinfinity-0.5.2/debian/infinoted.preinst 2013-02-11 12:37:48.000000000 +0100 @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +if [ "$1" = "install" ] || [ "$1" = "upgrade" ] +then + # removal of infinoted-0.4/squeeze unregisters the wrong alternative + # and leaves this behind + update-alternatives --remove infinoted /usr/bin/infinoted-0.4 +fi + +#DEBHELPER#