|
|
@ -27,7 +27,7 @@ function error_exit() {
|
|
|
|
echo -e "$flag $msg" 1>&2
|
|
|
|
echo -e "$flag $msg" 1>&2
|
|
|
|
exit $EXIT
|
|
|
|
exit $EXIT
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Install on Proxmox "; fi
|
|
|
|
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
|
|
|
|