From 6e3d8b1cf12644a17238d6d9fee72f0c479caeac Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Mon, 17 Oct 2011 07:22:22 +0000 Subject: Only update vi symlink if unset (bug #384861 by Roger). (Portage version: 2.2.0_alpha67/cvs/Linux x86_64) --- app-editors/vile/ChangeLog | 5 ++++- app-editors/vile/vile-9.8e.ebuild | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'app-editors/vile') diff --git a/app-editors/vile/ChangeLog b/app-editors/vile/ChangeLog index 04668e10349a..15855fbb95fd 100644 --- a/app-editors/vile/ChangeLog +++ b/app-editors/vile/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-editors/vile # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/vile/ChangeLog,v 1.34 2011/04/20 21:02:06 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/vile/ChangeLog,v 1.35 2011/10/17 07:22:22 radhermit Exp $ + + 17 Oct 2011; Tim Harder vile-9.8e.ebuild: + Only update vi symlink if unset (bug #384861 by Roger). *vile-9.8e (20 Apr 2011) diff --git a/app-editors/vile/vile-9.8e.ebuild b/app-editors/vile/vile-9.8e.ebuild index fc4eb4d612cb..9f56eb135782 100644 --- a/app-editors/vile/vile-9.8e.ebuild +++ b/app-editors/vile/vile-9.8e.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/vile/vile-9.8e.ebuild,v 1.1 2011/04/20 21:02:06 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/vile/vile-9.8e.ebuild,v 1.2 2011/10/17 07:22:22 radhermit Exp $ EAPI=4 @@ -34,11 +34,11 @@ src_install() { } pkg_postinst() { - einfo "Setting /usr/bin/vi symlink" - eselect vi set "${PN}" + einfo "Updating /usr/bin/vi symlink" + eselect vi update --if-unset } pkg_postrm() { einfo "Updating /usr/bin/vi symlink" - eselect vi update + eselect vi update --if-unset } -- cgit v1.2.3-65-gdbad