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