diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-05-29 08:55:20 +0200 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-05-29 08:55:20 +0200 |
commit | aea979a49280a58000b6127598bd31660e72687c (patch) | |
tree | 2c5f5843aa1c20237c11b0333fdaeec760d3b11c | |
parent | e6d698ca7a93e8db0e91a7dcab61f47bbf093c10 (diff) |
-rwxr-xr-x | auto-void-packages/who-needs-update.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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" ]; |