From aea979a49280a58000b6127598bd31660e72687c Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Thu, 29 May 2025 08:55:20 +0200 Subject: who-needs-update: skips commented packages --- auto-void-packages/who-needs-update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/auto-void-packages/who-needs-update.sh b/auto-void-packages/who-needs-update.sh index e01af13..e798847 100755 --- a/auto-void-packages/who-needs-update.sh +++ b/auto-void-packages/who-needs-update.sh @@ -38,6 +38,10 @@ VOID_UPDATES=$(curl --silent "$VOID_UPDATES_URL") # v for needing one while read -r PKG; do + # checks if there's a # at the beginning of the line + # if so, skip the current iteration + echo "$PKG" | grep -q '^#' && continue + printf_magenta "$PKG" UPDATES=$(echo "$VOID_UPDATES" | grep -e "^$PKG ") if [ -z "$UPDATES" ]; -- cgit v1.2.3