diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/slack-autoupdate | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/slack-autoupdate b/src/slack-autoupdate index 30315df..f31bd99 100644 --- a/src/slack-autoupdate +++ b/src/slack-autoupdate @@ -154,7 +154,11 @@ if ! OUTPUT="$( trap "rm -f ${PACKAGE_UPDATES}" EXIT (sbocheck | tee $PACKAGE_UPDATES) || exit 1 - if grep -i "no updates available" "$PACKAGE_UPDATES"; then + + # Avoid checking for 'no updates available'. It will not + # work if you host 'overrides' purposely different than what is + # on SBO. + if ! grep "needs updating" "$PACKAGE_UPDATES"; then exit 0 fi |