diff options
author | Robby Workman <rworkman@slackware.com> | 2021-03-12 21:15:29 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2021-03-12 21:29:46 -0600 |
commit | b53d9d74992376f34350c6b23faaa3e8da1d0891 (patch) | |
tree | 2a59fb8c803450ff9b287dd24d2e310c0b002c12 | |
parent | 34c2bfbdeaf431be2a6988046cc26e38251db1b5 (diff) | |
download | slackpkg-b53d9d74992376f34350c6b23faaa3e8da1d0891.tar.xz |
Fix display of blacklisted packages
-rw-r--r-- | files/slackpkg | 4 |
1 files changed, 3 insertions, 1 deletions
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 |