From b53d9d74992376f34350c6b23faaa3e8da1d0891 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Fri, 12 Mar 2021 21:15:29 -0600 Subject: Fix display of blacklisted packages --- files/slackpkg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/slackpkg b/files/slackpkg index 746a8c5..2553191 100644 --- a/files/slackpkg +++ b/files/slackpkg @@ -482,8 +482,10 @@ case "$CMD" in ;; blacklist) echo -e "Edit /etc/slackpkg/blacklist to add or remove packages." + echo -e "" echo -e "Packages in blacklist:\n" grep -v "^#" $CONF/blacklist | $MORECMD + echo -e "" ;; file-search) PATTERN=$(echo $ARG | sed -e 's/\+/\\\+/g' -e 's/\./\\\./g' -e 's/ /\|/g') @@ -598,7 +600,7 @@ esac # That options don't change configurations files and, if # someone remove the kernel, i hope he knows what is doing. # -for i in check-updates remove search file-search update info \ +for i in check-updates remove search file-search update info blacklist \ clean-system download generate-template remove-template; do if [ "$CMD" = "$i" ]; then POSTINST=off -- cgit v1.2.3