summaryrefslogtreecommitdiffstats
path: root/files/core-functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'files/core-functions.sh')
-rw-r--r--files/core-functions.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/files/core-functions.sh b/files/core-functions.sh
index a976df6..d8756d3 100644
--- a/files/core-functions.sh
+++ b/files/core-functions.sh
@@ -572,7 +572,7 @@ function listpkgname() {
}
function applyblacklist() {
- grep -vEw -f ${TMPDIR}/blacklist
+ grep -vE -f ${TMPDIR}/blacklist
}
# Function to make install/reinstall/upgrade lists
@@ -584,7 +584,10 @@ function makelist() {
INPUTLIST=$@
- grep -vE "(^#|^[[:blank:]]*$)" ${CONF}/blacklist > ${TMPDIR}/blacklist
+ grep -vE "(^#|^[[:blank:]]*$)" ${CONF}/blacklist | \
+ sed -E "s,^, ,;s,$, ,;s,^\s(extra|pasture|patches|slackware(|64)|testing|txz)\s,\1," \
+ > ${TMPDIR}/blacklist
+
if echo $CMD | grep -q install ; then
ls -1 $ROOT/var/log/packages/* | awk -f /usr/libexec/slackpkg/pkglist.awk > ${TMPDIR}/tmplist
else