From 0635933b1eab51aa63c921e62ee5f2e82fd79efb Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Thu, 11 Feb 2021 17:28:42 -0600 Subject: Fix "slackpkg blacklist" so that it shows blacklist again --- files/slackpkg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'files') diff --git a/files/slackpkg b/files/slackpkg index 49a1237..e555a25 100644 --- a/files/slackpkg +++ b/files/slackpkg @@ -238,6 +238,10 @@ while [ -n "$1" ] ; do fi shift $# ;; + blacklist) + CMD=$1 + shift $# + ;; update) CMD=$1 shift @@ -477,7 +481,7 @@ case "$CMD" in # all blacklisted packages if [ "$INPUTLIST" = "" ]; then echo -e "Packages in blacklist:\n" - grep -e "^\([a-z]\)" $CONF/blacklist | $MORECMD + grep -v "^#" $CONF/blacklist | $MORECMD cleanup fi -- cgit v1.2.3