Clarify how to blacklist duplicate packages

This commit is contained in:
Robby Workman 2021-02-22 01:32:38 -06:00
parent f238a0c96c
commit fe99f902eb

View file

@ -1259,14 +1259,12 @@ function sanity_check() {
if [ "$DOUBLEFILES" != "" ]; then
echo -e "\
You have a broken $ROOT/var/log/packages/ - with two versions of the same package.\n\
The list of packages duplicated in your machine is shown below, but don't\n\
worry about this list - when you select your action, slackpkg will show a\n\
better list:\n"
You have a broken $ROOT/var/log/packages/ - with multiple versions of the same package.\n\
The list of packages duplicated in your machine is shown below:\n"
printf "%s\n" $DOUBLEFILES
echo -ne "\n\
You can (R)emove, or (I)gnore these packages.\n\
You can (R)emove one or more of, or (I)gnore these packages.\n\
Select your action (R/I): "
read ANSWER
echo
@ -1276,8 +1274,9 @@ Select your action (R/I): "
remove_pkg
;;
*)
echo "Remove or blacklist the affected packages in order for \
slackpkg to work properly."
echo "Remove one or more of OR blacklist the affected packages \
in order for slackpkg to work properly."
echo "To blacklist the affected packages, edit /etc/slackpkg/blacklist"
cleanup
;;
esac