diff options
-rwxr-xr-x | bin/pacman-offline | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pacman-offline b/bin/pacman-offline index aae47ef..1cd4cdb 100755 --- a/bin/pacman-offline +++ b/bin/pacman-offline @@ -22,7 +22,7 @@ while getopts 'hy' opt; do done # check for available updates -if ! pacman -Qu >/dev/null; then +if [ "$(pacman -Qu | grep -v '\[ignored\]' | wc -l)" -eq 0 ]; then echo "No updates available." exit 0 fi |