fix: install pyenv detection

This commit is contained in:
2024-10-21 10:35:34 +03:00
parent 7ef7bc0880
commit 40f3062ebe

View File

@@ -160,7 +160,7 @@ if [[ ! -f $(which fnm) ]]; then
fi
fi
if [[ ! -d "$HOME/.pyenv" ]]; then
if [[ ! -f "$(which pyenv)" ]]; then
if ask "Install pyenv?"; then
echo_yellow "Installing pyenv..."
platform_install -b pyenv \