mirror of
https://github.com/asdf-community/asdf-python
synced 2024-10-06 08:32:06 +08:00
Only pull if we didn't just clone pyenv
This commit is contained in:
parent
63e29eba47
commit
3a7ff0bee1
@ -5,8 +5,9 @@ echoerr() {
|
||||
ensure_python_build_installed() {
|
||||
if [ ! -f "$(python_build_path)" ]; then
|
||||
download_python_build
|
||||
fi
|
||||
else
|
||||
git -C "$(pyenv_path)" pull > /dev/null || true
|
||||
fi
|
||||
}
|
||||
|
||||
download_python_build() {
|
||||
|
Loading…
Reference in New Issue
Block a user