forked from extern/Proxmox
Update code-server.sh
pve check
This commit is contained in:
parent
308ffc8dda
commit
616dd24616
@ -40,6 +40,7 @@ function error_exit() {
|
|||||||
}
|
}
|
||||||
clear
|
clear
|
||||||
header_info
|
header_info
|
||||||
|
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Install on Proxmox "; exit; fi
|
||||||
while true; do
|
while true; do
|
||||||
read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
|
read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
|
||||||
case $yn in
|
case $yn in
|
||||||
|
Loading…
Reference in New Issue
Block a user