mirror of https://github.com/tteck/Proxmox.git
Update pyenv2.sh
This commit is contained in:
parent
0fc2a37334
commit
e86baf6a43
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Install on Proxmox "; exit; fi
|
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Install on Proxmox "; exit; fi
|
||||||
set -e
|
set -e
|
||||||
DIR=/root/.pyenv/3.10.8
|
DIR=/root/.pyenv/versions/3.10.8
|
||||||
if [ -d "$DIR" ]; then
|
if [ -d "$DIR" ]; then
|
||||||
echo "Python 3.10.8 is already installed, moving on..."
|
echo "Python 3.10.8 is already installed, moving on..."
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue