mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-09 19:50:25 +03: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
@ -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 New Issue
Block a user