Browse Source

Update code-server.sh

pve check
tteckster 2 years ago
parent
commit
616dd24616
1 changed files with 1 additions and 0 deletions
  1. 1 0
      misc/code-server.sh

+ 1 - 0
misc/code-server.sh

@@ -40,6 +40,7 @@ function error_exit() {
 }
 clear
 header_info
+if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️  Can't Install on Proxmox "; exit; fi
 while true; do
     read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
     case $yn in