Skip to content

Commit

Permalink
include index tests
Browse files Browse the repository at this point in the history
  • Loading branch information
OneCDOnly committed Apr 16, 2024
1 parent 227007b commit 89fe42b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions support/sherpa-manager.source
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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]}
Expand All @@ -9772,6 +9771,8 @@ QpkgGetApplVer()
return 0
fi

return 1

}

QpkgGetAvailVer()
Expand Down Expand Up @@ -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
Expand All @@ -9811,6 +9810,8 @@ QpkgGetAvailVer()
return 0
fi

return 1

}

QpkgGetInstalledVer()
Expand Down

0 comments on commit 89fe42b

Please sign in to comment.