mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
fix(python): update version checks
This commit is contained in:
@@ -17,8 +17,7 @@ __init_python2() {
|
||||
|
||||
my_latest_python2="$(
|
||||
pyenv install --list |
|
||||
grep -v -- - |
|
||||
grep '2\.[0-9]\+\.[0-9]\+$' |
|
||||
grep -E '^\s+2\.[0-9]+\.[0-9]+$' |
|
||||
tail -n 1 |
|
||||
cut -d' ' -f3
|
||||
)"
|
||||
|
||||
Reference in New Issue
Block a user