From a9c7e7d4c7d40b36965bcf8a45419c2de6d04954 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 14 Jan 2019 23:17:13 -0600 Subject: Fixup blacklist checking and appending when using alt $ROOT Thanks to dive for the report. --- files/core-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/core-functions.sh b/files/core-functions.sh index 93b11e2..19eebf3 100644 --- a/files/core-functions.sh +++ b/files/core-functions.sh @@ -589,7 +589,7 @@ function makelist() { INPUTLIST=$@ - grep -vE "(^#|^[[:blank:]]*$)" ${CONF}/blacklist | \ + grep -vE "(^#|^[[:blank:]]*$)" ${ROOT}/${CONF}/blacklist | \ sed -E " s,^, , s,$, , @@ -1277,7 +1277,7 @@ Okay - slackpkg won't do anything now, but please, do something to fix it.\n" } function blacklist_pkg() { - echo $SHOWLIST | tr ' ' "\n" >> ${CONF}/blacklist + echo $SHOWLIST | tr ' ' "\n" >> ${ROOT}/${CONF}/blacklist echo -e "\nPackages added to your blacklist.\n\ If you want to remove those packages, edit ${CONF}/blacklist.\n" -- cgit v1.2.3