Refactor(update): Remove version file missing warning

This commit is contained in:
courtmanr@gmail.com 2025-05-04 23:54:51 +01:00
parent 2a50bf6ab9
commit 1e7e26acf6

View File

@ -42,8 +42,6 @@ function update_script() {
CURRENT_VERSION=""
if [[ -f /opt/${APP}_version.txt ]]; then
CURRENT_VERSION=$(cat /opt/${APP}_version.txt)
else
msg_warning "Version file /opt/${APP}_version.txt not found. Cannot determine current version. Will attempt update."
fi
if [[ "${LATEST_RELEASE}" != "$CURRENT_VERSION" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then