Skip to content

Commit

Permalink
v0.3.0 - sort packages by name; discard opkg warnings (was parsing as…
Browse files Browse the repository at this point in the history
… packages); pretty print TXT table on CLI and TXT email; tweak HELD packages removal
  • Loading branch information
tavinus committed Dec 10, 2018
1 parent 2451997 commit d2385c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opkg-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ opkg_update() {
# get list of upgradable packages
opkg_upgradable() {
message_starts "Getting upgradable packages list"
PACKS="$($OPKGBIN list-upgradable | sort | grep -v 'same name marked HOLD or PREFER. Using latest.')"
PACKS="$($OPKGBIN list-upgradable | sort | grep -v 'marked HOLD or PREFER')"
[ $? -eq 0 ] || rt_exception $'Error when trying list upgradable packages. Permissions?\n'
#PACKS="$(cat pkg-example.txt)" # testing
if ! is_empty "$PACKS"; then
Expand Down

0 comments on commit d2385c4

Please sign in to comment.