Update evcc.sh

change upgrade command
This commit is contained in:
tteckster 2024-10-16 12:47:01 -04:00 committed by GitHub
parent b7baf2d1ed
commit 0618c89147
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,7 +56,7 @@ header_info
if [[ ! -f /etc/apt/sources.list.d/evcc-stable.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -f /etc/apt/sources.list.d/evcc-stable.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating evcc LXC" msg_info "Updating evcc LXC"
apt update &>/dev/null apt update &>/dev/null
apt install -y evcc &>/dev/null apt --only-upgrade install -y evcc &>/dev/null
msg_ok "Updated Successfully" msg_ok "Updated Successfully"
exit exit
} }