Update code-server.sh
fixes https://github.com/tteck/Proxmox/issues/2608
This commit is contained in:
parent
c7e4f370c6
commit
a6b415bc36
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue