Debian bug report logs - #1405
vim doesn't use update-alternatives

Package: vim; Reported by: Ian Jackson <iwj10@cus.cam.ac.uk>; Done: sr1@irz301.inf.tu-dresden.de (Sven Rudolph).

Message received at debian-bugs-done:


From irz301.inf.tu-dresden.de!sr1 Tue Oct 24 09:11:01 1995
Return-Path: <sr1@irz301.inf.tu-dresden.de>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t7lw7-0003CcC; Tue, 24 Oct 95 09:10 PDT
Received: from irz101.inf.tu-dresden.de by pixar.com with SMTP id AA08155
  (5.67b/IDA-1.5 for debian-bugs-done-pipe@mongo.pixar.com); Tue, 24 Oct 1995 09:09:52 -0700
Received: by irz101.inf.tu-dresden.de (8.6.12/8.6.12-s1) id RAA02478; Tue, 24 Oct 1995 17:04:29 +0100
Date: Tue, 24 Oct 1995 17:04:29 +0100
From: sr1@irz301.inf.tu-dresden.de (Sven Rudolph)
Message-Id: <199510241604.RAA02478@irz101.inf.tu-dresden.de>
To: debian-bugs-done@pixar.com, iwj10@cus.cam.ac.uk, dgregor@gregor.com
Subject: Re: Bug#1405: Acknowledgement (was: vim doesn't use update-alternatives)

vim now uses update-alternatives.

I close the bug.

	Sven
-- 
Sven Rudolph (sr1@inf.tu-dresden.de); WWW : http://www.sax.de/~sr1/

Notification sent to Ian Jackson <iwj10@cus.cam.ac.uk>:
Bug acknowledged by developer. Full text available.
Reply sent to sr1@irz301.inf.tu-dresden.de (Sven Rudolph):
You have taken responsibility. Full text available.

Message received at debian-bugs:


From gregor.com!dgregor Wed Sep 20 18:17:33 1995
Return-Path: <dgregor@gregor.com>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0svaGb-000G9wC; Wed, 20 Sep 95 18:17 PDT
Received: from gregor.com (gregor.coil.com) by pixar.com with SMTP id AA08813
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 20 Sep 1995 18:17:00 -0700
Received: from gregor.com (dgregor@localhost [127.0.0.1]) by gregor.com (8.6.10/8.6.10) with ESMTP id VAA23504; Wed, 20 Sep 1995 21:26:45 -0400
Message-Id: <199509210126.VAA23504@gregor.com>
X-Mailer: exmh version 1.6 4/21/95
To: Ian Jackson <iwj10@cus.cam.ac.uk>, debian-bugs@Pixar.com
Subject: Re: Bug#1405: vim doesn't use update-alternatives 
In-Reply-To: Your message of "Thu, 21 Sep 1995 00:14:00 -0000."
             <m0svYL6-0002YOA@chiark.al.cl.cam.ac.uk> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 20 Sep 1995 21:26:36 -0400
From: "D.J. Gregor" <dgregor@gregor.com>

Ian,

	Working on it.  I should have it uploaded in a day or two.

	
	Also, thanks for the hints...
	--D.J.

PS:  I am making my second set of PGP keys.  I'll be making the public
key available in a week or two.
--
  D.J. Gregor    N8QLB     dgregor@gregor.com     http://www.coil.com/~dgregor


Acknowledgement sent to "D.J. Gregor" <dgregor@gregor.com>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1405; Package vim. Full text available.

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Wed Sep 20 16:47:22 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0svYrI-000G8NA; Wed, 20 Sep 95 16:47 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA03268
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 20 Sep 1995 16:47:00 -0700
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #36) id m0svYps-000C13A; Thu, 21 Sep 95 00:45 BST
Received: by chiark
	id <m0svYL6-0002YOA@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Thu, 21 Sep 95 00:14 BST
Message-Id: <m0svYL6-0002YOA@chiark.al.cl.cam.ac.uk>
Date: Thu, 21 Sep 95 00:14 BST
From: Ian Jackson <iwj10@cus.cam.ac.uk>
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: vim doesn't use update-alternatives
Precedence: air-mail

Package: vim
Version: 3.0-3

 Setting up vim ...
 A link to /usr/bin/vi already exists, so a link will not be made
 A link to /usr/man/man1/vi.1 already exists, so a link will not be made
 Not linking vim to vi in /usr/bin or /usr/man/man1

vim should use update-alternatives instead.  Taking a leaf out of
nvi's postinst:

update-alternatives --install /usr/bin/vi vi /usr/bin/vim 20 \
  --slave /usr/man/man1/vi.1 vi.1 /usr/man/man1/vim.1

would seem appropriate, with a corresponding

if [ $1 != "upgrade" ]
then
  update-alternatives --remove vi /usr/bin/vim
fi

in the prerm.

Ian.

Acknowledgement sent to Ian Jackson <iwj10@cus.cam.ac.uk>:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1405; Package vim. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov