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