mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-28 09:58:58 +01:00
Address issue 33 (sbopkg sometimes picks older pkg to install; not latest)
Change a 'head' to a 'tail' so that info_item() is less likely to pick an older package to present for installation.
This commit is contained in:
parent
9614f088c4
commit
fd99d8e952
2 changed files with 3 additions and 1 deletions
|
@ -14,4 +14,6 @@ enhancements:
|
|||
is useful, for example, if you have some SBo/sbopkg directories on a
|
||||
temporary filesystem and don't want to be bothered with repeated directory
|
||||
creation prompts. Thanks to agikhan for the report.
|
||||
* Address an issue where sbopkg could sometimes pick an older package to
|
||||
present for installation rather than the most recent one.
|
||||
+--------------------------+
|
||||
|
|
|
@ -1147,7 +1147,7 @@ info_item() {
|
|||
if [[ -z $CURPACKAGE ]]; then
|
||||
unset MENUPACKAGE
|
||||
else
|
||||
CURPACKAGE=$(head -n 1 <<< "$CURPACKAGE")
|
||||
CURPACKAGE=$(tail -n 1 <<< "$CURPACKAGE")
|
||||
MENUPACKAGE="Install $CURPACKAGE"
|
||||
fi
|
||||
if [[ -z $INSTALLEDPACKAGE ]]; then
|
||||
|
|
Loading…
Reference in a new issue