diff --git a/app-eselect/eselect-python/eselect-python-99999999.ebuild b/app-eselect/eselect-python/eselect-python-99999999.ebuild index f9b8c65f2602e..52eb0ceceb522 100644 --- a/app-eselect/eselect-python/eselect-python-99999999.ebuild +++ b/app-eselect/eselect-python/eselect-python-99999999.ebuild @@ -33,9 +33,7 @@ pkg_postinst() { eselect python update --if-unset fi - for py in 2 3; do - if has_version "=dev-lang/python-${py}*"; then - eselect python update "--python${py}" --if-unset - fi - done + if has_version "=dev-lang/python-3*"; then + eselect python update "--python3" --if-unset + fi }