mirror of
https://github.com/rworkman/slackpkg
synced 2025-02-08 08:46:34 +01:00
Fix display of blacklisted packages
This commit is contained in:
parent
34c2bfbdea
commit
b53d9d7499
1 changed files with 3 additions and 1 deletions
|
@ -482,8 +482,10 @@ case "$CMD" in
|
||||||
;;
|
;;
|
||||||
blacklist)
|
blacklist)
|
||||||
echo -e "Edit /etc/slackpkg/blacklist to add or remove packages."
|
echo -e "Edit /etc/slackpkg/blacklist to add or remove packages."
|
||||||
|
echo -e ""
|
||||||
echo -e "Packages in blacklist:\n"
|
echo -e "Packages in blacklist:\n"
|
||||||
grep -v "^#" $CONF/blacklist | $MORECMD
|
grep -v "^#" $CONF/blacklist | $MORECMD
|
||||||
|
echo -e ""
|
||||||
;;
|
;;
|
||||||
file-search)
|
file-search)
|
||||||
PATTERN=$(echo $ARG | sed -e 's/\+/\\\+/g' -e 's/\./\\\./g' -e 's/ /\|/g')
|
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
|
# That options don't change configurations files and, if
|
||||||
# someone remove the kernel, i hope he knows what is doing.
|
# 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
|
clean-system download generate-template remove-template; do
|
||||||
if [ "$CMD" = "$i" ]; then
|
if [ "$CMD" = "$i" ]; then
|
||||||
POSTINST=off
|
POSTINST=off
|
||||||
|
|
Loading…
Add table
Reference in a new issue