summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2021-02-11 17:28:42 -0600
committerRobby Workman <rworkman@slackware.com>2021-02-11 17:59:44 -0600
commit0635933b1eab51aa63c921e62ee5f2e82fd79efb (patch)
tree9cef182aa09b800c5ae527c6667ae65a8fc119c7
parent3ea13bebcbaf4445be999fe69170044505eec244 (diff)
downloadslackpkg-0635933b1eab51aa63c921e62ee5f2e82fd79efb.tar.xz
Fix "slackpkg blacklist" so that it shows blacklist again
-rw-r--r--files/slackpkg6
1 files changed, 5 insertions, 1 deletions
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