diff options
-rwxr-xr-x | bin/pacman-offline | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/pacman-offline b/bin/pacman-offline index 9f73d13..3c5e7ea 100755 --- a/bin/pacman-offline +++ b/bin/pacman-offline @@ -35,7 +35,8 @@ fi rm -f /system-update # check for available updates -if [ "$(pacman -Qu | grep -v '\[ignored\]' | wc -l)" -eq 0 ]; then +# TODO: remove the grep once a pacman release includes commit ee960048 +if [ "$(pacman -Sup | grep -v '^:: ' | wc -l)" -eq 0 ]; then echo "No updates available." exit 0 fi |