Update pyenv2.sh

This commit is contained in:
tteckster 2022-12-07 19:16:13 -05:00 committed by GitHub
parent 0fc2a37334
commit e86baf6a43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Install on Proxmox "; exit; fi
set -e
DIR=/root/.pyenv/3.10.8
DIR=/root/.pyenv/versions/3.10.8
if [ -d "$DIR" ]; then
echo "Python 3.10.8 is already installed, moving on..."
else