mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
Use multi-arg form of require_distro
This commit is contained in:
parent
4a14d2f62a
commit
9a59c8490a
2 changed files with 2 additions and 6 deletions
|
@ -5,9 +5,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in
|
|||
fi
|
||||
;;
|
||||
"linux64" )
|
||||
if require_distro "Ubuntu 14.04" 1>/dev/null 2>&1; then
|
||||
install_package "pypy2-v5.10.0-linux64" "https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux64.tar.bz2#da85af9240220179493ad66c857934dc7ea91aef8f168cd293a2d99af8346ee2" "pypy" verify_py27 ensurepip
|
||||
elif require_distro "Ubuntu 16.04" 1>/dev/null 2>&1; then
|
||||
if require_distro "Ubuntu 14.04" "Ubuntu 16.04" 1>/dev/null 2>&1; then
|
||||
install_package "pypy2-v5.10.0-linux64" "https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux64.tar.bz2#da85af9240220179493ad66c857934dc7ea91aef8f168cd293a2d99af8346ee2" "pypy" verify_py27 ensurepip
|
||||
else
|
||||
{ echo
|
||||
|
|
|
@ -5,9 +5,7 @@ case "$(pypy_architecture 2>/dev/null || true)" in
|
|||
fi
|
||||
;;
|
||||
"linux64" )
|
||||
if require_distro "Ubuntu 14.04" 1>/dev/null 2>&1; then
|
||||
install_package "pypy3-v5.10.0-linux64" "https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-linux64.tar.bz2#aa4fb52fb858d973dd838dcf8d74f30705e5afdf1150acb8e056eb99353dfe77" "pypy" verify_py27 ensurepip
|
||||
elif require_distro "Ubuntu 16.04" 1>/dev/null 2>&1; then
|
||||
if require_distro "Ubuntu 14.04" "Ubuntu 16.04" 1>/dev/null 2>&1; then
|
||||
install_package "pypy3-v5.10.0-linux64" "https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-linux64.tar.bz2#aa4fb52fb858d973dd838dcf8d74f30705e5afdf1150acb8e056eb99353dfe77" "pypy" verify_py27 ensurepip
|
||||
else
|
||||
{ echo
|
||||
|
|
Loading…
Reference in a new issue