mirror of https://github.com/tteck/Proxmox.git
Update code-server.sh
fixes https://github.com/tteck/Proxmox/issues/2608
This commit is contained in:
parent
c7e4f370c6
commit
a6b415bc36
|
@ -47,6 +47,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
|
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Install on Proxmox "; exit; fi
|
||||||
|
if [ -e /etc/alpine-release ]; then echo -e "⚠️ Can't Install on Alpine"; 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