diff options
Diffstat (limited to 'dev-lang/python/python-2.7.12.ebuild')
-rw-r--r-- | dev-lang/python/python-2.7.12.ebuild | 4 |
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() { |