diff --git a/opkg-upgrade.sh b/opkg-upgrade.sh index 19733b1..7c1e6cc 100755 --- a/opkg-upgrade.sh +++ b/opkg-upgrade.sh @@ -336,7 +336,7 @@ opkg_update() { # get list of upgradable packages opkg_upgradable() { message_starts "Getting upgradable packages list" - PACKS="$($OPKGBIN list-upgradable | sort | grep -v 'marked HOLD or PREFER')" + PACKS="$($OPKGBIN list-upgradable | sort | grep -v -e 'marked HOLD or PREFER' -e 'Not selecting')" #[ $? -eq 0 ] || rt_exception $'Error when trying list upgradable packages. Permissions?\n' #PACKS="$(cat pkg-example.txt)" # testing if ! is_empty "$PACKS"; then