From c1205691e7d7a92f0f16eaca21e5af8b7080b834 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 23 Oct 2025 04:06:13 -0700 Subject: [PATCH] tools.func: update update_check messages for clarity (#8588) * Update update check messages for clarity * Change message for no update available case --- misc/tools.func | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index 3b21b4000..87f8e32d1 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -901,22 +901,22 @@ check_for_gh_release() { if [[ "$current" != "$pin_clean" ]]; then CHECK_UPDATE_RELEASE="$match_raw" - msg_ok "Checking for update: ${app}" + msg_ok "Update available: ${app} ${current:-not installed} → ${pin_clean}" return 0 fi - msg_ok "Checking for update: ${app}" + msg_error "No update available: ${app} is not installed!" return 1 fi # No pinning → use latest if [[ -z "$current" || "$current" != "$latest_clean" ]]; then CHECK_UPDATE_RELEASE="$latest_raw" - msg_ok "Checking for update: ${app}" + msg_ok "Update available: ${app} ${current:-not installed} → ${latest_clean}" return 0 fi - msg_ok "Checking for update: ${app}" + msg_ok "No update available: ${app} (${latest_clean})" return 1 }