summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-10-17 07:22:22 +0000
committerTim Harder <radhermit@gentoo.org>2011-10-17 07:22:22 +0000
commit6e3d8b1cf12644a17238d6d9fee72f0c479caeac (patch)
treebae27777ed5025bb0bfa71c0abe5382d2eb093db /app-editors
parentVersion bump. (diff)
downloadgentoo-2-6e3d8b1cf12644a17238d6d9fee72f0c479caeac.tar.gz
gentoo-2-6e3d8b1cf12644a17238d6d9fee72f0c479caeac.tar.bz2
gentoo-2-6e3d8b1cf12644a17238d6d9fee72f0c479caeac.zip
Only update vi symlink if unset (bug #384861 by Roger).
(Portage version: 2.2.0_alpha67/cvs/Linux x86_64)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/vile/ChangeLog5
-rw-r--r--app-editors/vile/vile-9.8e.ebuild8
2 files changed, 8 insertions, 5 deletions
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 <radhermit@gentoo.org> 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
}