diff --git a/support/sherpa-manager.source b/support/sherpa-manager.source index bc5913c09..b9f6204b6 100755 --- a/support/sherpa-manager.source +++ b/support/sherpa-manager.source @@ -4396,6 +4396,7 @@ DisplayAsStatusReportItemLine() status_msg=${status// /, } fi + app_ver_msg+=$(QpkgGetApplVer "$qpkg_name") status_msg=${CHARS_NORMAL}${status_msg} ver_msg+=$(QpkgGetInstalledVer "$qpkg_name") @@ -9759,9 +9760,7 @@ QpkgGetApplVer() return 0 fi done - - return 1 - else + elif [[ $qpkg_index -gt 0 ]]; then a=${QPKG_APPL_VERSION[$qpkg_index]} [[ $a = default ]] && a=${QPKG_APPL_VERSION[$qpkg_default_index]} [[ $a = version ]] && a=${QPKG_VERSION[$qpkg_default_index]} @@ -9772,6 +9771,8 @@ QpkgGetApplVer() return 0 fi + return 1 + } QpkgGetAvailVer() @@ -9799,9 +9800,7 @@ QpkgGetAvailVer() return 0 fi done - - return 1 - else + elif [[ $qpkg_index -gt 0 ]]; then a=${QPKG_VERSION[$qpkg_index]} [[ $a = default ]] && a=${QPKG_VERSION[$qpkg_default_index]} [[ $a != none ]] || return @@ -9811,6 +9810,8 @@ QpkgGetAvailVer() return 0 fi + return 1 + } QpkgGetInstalledVer()