summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-11-30 15:24:58 -0500
committerMike Gilbert <floppym@gentoo.org>2016-11-30 15:26:05 -0500
commitb346cff85990465d53209de3d7b938b601fb2fe0 (patch)
tree423292495df3a04591f1ea81b4bef3a1f7e8b0f0 /dev-lang
parentmedia-video/libav: arm stable, bug #600706 (diff)
downloadgentoo-b346cff85990465d53209de3d7b938b601fb2fe0.tar.gz
gentoo-b346cff85990465d53209de3d7b938b601fb2fe0.tar.bz2
gentoo-b346cff85990465d53209de3d7b938b601fb2fe0.zip
dev-lang/python: restore eselect python set --python2 call
This broke Funtoo stage building since it relies on the python2 symlink. Package-Manager: portage-2.3.2_p11
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/python/python-2.7.12.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-lang/python/python-2.7.12.ebuild b/dev-lang/python/python-2.7.12.ebuild
index fd47f81fcebd..09e76bab5df6 100644
--- a/dev-lang/python/python-2.7.12.ebuild
+++ b/dev-lang/python/python-2.7.12.ebuild
@@ -346,6 +346,10 @@ eselect_python_update() {
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
eselect python update
fi
+
+ if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
+ eselect python update --python${PV%%.*}
+ fi
}
pkg_postinst() {