Fix support for package sets (try #2)

This adds ./$PKGMAIN/ to a blacklisted set line, which
ought to say turn kde/ into ./slackware64/kde as it listed in the
temp pkglist.  I've tightened up the patches/pasture/extra etc. lines
too.

Signed-off-by: Robby Workman <rworkman@slackware.com>
This commit is contained in:
Dave Woodfall 2018-12-30 13:15:07 +00:00 committed by Robby Workman
parent d358f77039
commit 7a62e902c7

View file

@ -590,10 +590,13 @@ function makelist() {
INPUTLIST=$@
grep -vE "(^#|^[[:blank:]]*$)" ${CONF}/blacklist | \
sed -E "s,^, ,
sed -E "
s,^, ,
s,$, ,
s,^\s(extra|pasture|patches|slackware(|64)|testing|txz|.*/)\s$,\1,
s,/$,," \
s,^\s(extra|pasture|patches|slackware(|64)|testing)\s$,\1 ,
s,^\s(tgz|txz)\s$, \1,
s,^\s([^/]*)/\s$, ./$PKGMAIN/\1 ,
" \
> ${TMPDIR}/blacklist
if echo $CMD | grep -q install ; then