mirror of
https://github.com/rworkman/slackpkg
synced 2024-12-26 21:58:27 +01:00
Fixup blacklist checking and appending when using alt $ROOT
Thanks to dive for the report.
This commit is contained in:
parent
a2f35e3110
commit
a9c7e7d4c7
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue