summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-13 01:45:32 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-13 01:45:32 +0000
commit46f8b3bfbcd3fe1b207ae832d0f494677346cf22 (patch)
treece6f8624440d8ed402102fa95286db21e53035b1
parentRemove old version (diff)
downloadgentoo-2-46f8b3bfbcd3fe1b207ae832d0f494677346cf22.tar.gz
gentoo-2-46f8b3bfbcd3fe1b207ae832d0f494677346cf22.tar.bz2
gentoo-2-46f8b3bfbcd3fe1b207ae832d0f494677346cf22.zip
Run `eselect python update` when no version of app-admin/eselect-python was earlier installed (bug #281247).
(Portage version: 14014-svn/cvs/Linux x86_64)
-rw-r--r--app-admin/eselect-python/ChangeLog7
-rw-r--r--app-admin/eselect-python/eselect-python-20090804.ebuild4
2 files changed, 8 insertions, 3 deletions
diff --git a/app-admin/eselect-python/ChangeLog b/app-admin/eselect-python/ChangeLog
index afbcbb43168c..0debf96101da 100644
--- a/app-admin/eselect-python/ChangeLog
+++ b/app-admin/eselect-python/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/eselect-python
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v 1.35 2009/08/05 16:35:24 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v 1.36 2009/08/13 01:45:32 arfrever Exp $
+
+ 13 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ eselect-python-20090804.ebuild:
+ Run `eselect python update` when no version of app-admin/eselect-python
+ was earlier installed (bug #281247).
05 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
eselect-python-20090804.ebuild:
diff --git a/app-admin/eselect-python/eselect-python-20090804.ebuild b/app-admin/eselect-python/eselect-python-20090804.ebuild
index 7bcadc79074a..2ed797cc32a1 100644
--- a/app-admin/eselect-python/eselect-python-20090804.ebuild
+++ b/app-admin/eselect-python/eselect-python-20090804.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20090804.ebuild,v 1.3 2009/08/05 16:35:24 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20090804.ebuild,v 1.4 2009/08/13 01:45:32 arfrever Exp $
inherit flag-o-matic toolchain-funcs
@@ -35,7 +35,7 @@ src_install() {
}
pkg_preinst() {
- if has_version "<${CATEGORY}/${PN}-20090804"; then
+ if has_version "<${CATEGORY}/${PN}-20090804" || ! has_version "${CATEGORY}/${PN}"; then
run_eselect_python_update="1"
fi
}