File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -901,22 +901,22 @@ check_for_gh_release() {
901901
902902 if [[ " $current " != " $pin_clean " ]]; then
903903 CHECK_UPDATE_RELEASE=" $match_raw "
904- msg_ok " Checking for update : ${app} "
904+ msg_ok " Update available : ${app} ${current :- not installed} → ${pin_clean }"
905905 return 0
906906 fi
907907
908- msg_ok " Checking for update: ${app} "
908+ msg_error " No update available : ${app} is not installed! "
909909 return 1
910910 fi
911911
912912 # No pinning → use latest
913913 if [[ -z " $current " || " $current " != " $latest_clean " ]]; then
914914 CHECK_UPDATE_RELEASE=" $latest_raw "
915- msg_ok " Checking for update : ${app} "
915+ msg_ok " Update available : ${app} ${current :- not installed} → ${latest_clean }"
916916 return 0
917917 fi
918918
919- msg_ok " Checking for update: ${app} "
919+ msg_ok " No update available : ${app} ( ${latest_clean} ) "
920920 return 1
921921}
922922
You can’t perform that action at this time.
0 commit comments