From ed674aaedd5695c8de2276b77ace3b7d170a3c51 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 16 Sep 2023 15:24:18 -0400 Subject: [PATCH] Update pialert.sh tweak --- ct/pialert.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ct/pialert.sh b/ct/pialert.sh index 39ddd9de..abe9c4b3 100644 --- a/ct/pialert.sh +++ b/ct/pialert.sh @@ -52,11 +52,8 @@ function default_settings() { function update_script() { header_info -if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi -msg_info "Updating $APP LXC" -apt-get update &>/dev/null -apt-get -y upgrade &>/dev/null -msg_ok "Updated $APP LXC" +if [[ ! -d /opt/pialert ]]; then msg_error "No ${APP} Installation Found!"; exit; fi +msg_error "There is currently no update path available." exit }