From 6a26f5991cfd98836c716207ce25a3cc1f7f5a1f Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 9 Jan 2023 14:44:12 -0500 Subject: [PATCH] Update alpine-v5.sh --- ct/alpine-v5.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ct/alpine-v5.sh b/ct/alpine-v5.sh index ce28c2a8..e43b5c22 100644 --- a/ct/alpine-v5.sh +++ b/ct/alpine-v5.sh @@ -84,7 +84,7 @@ if command -v pveversion >/dev/null 2>&1; then fi fi if ! command -v pveversion >/dev/null 2>&1; then - if [[ ! -f /etc/apt/sources.list.d/emqx_emqx.list ]]; then + if [[ ! -f /etc/alpine-release ]]; then msg_error "No ${APP} Installation Found!"; exit fi @@ -310,9 +310,8 @@ function update_script() { clear header_info msg_info "Updating ${APP} LXC" -apt-get update &>/dev/null -apt-get -y upgrade &>/dev/null -msg_ok "Updated ${APP} LXC" +apk update &>/dev/null +apk upgrade &>/dev/null msg_ok "Update Successfull" exit }