aboutsummaryrefslogtreecommitdiff
path: root/auto-void-packages
diff options
context:
space:
mode:
Diffstat (limited to 'auto-void-packages')
-rwxr-xr-xauto-void-packages/who-needs-update.sh4
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" ];