Changeset c2af9cd7


Ignore:
Timestamp:
03/09/2021 08:53:29 PM (3 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, legacy, trunk
Children:
47dfc81
Parents:
e5518fd
Message:

Fix gen-special when an entity is commented out:

In the xorg application, mkfontdir is commented out, but we did not
check that because it was complicated with the shell. This was
leading to mkfontfir appearing in the packages to install, which
is not wanted. We use the information in the "cat" command to
eliminate the commented out package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/gen-special.sh

    re5518fd rc2af9cd7  
    134134      precpack=$i
    135135    done
    136 
     136# It may happen that packname is not in list_cat, because its entity
     137# is commented out in the xml, but we do not check that (too complicated).
     138# In that case, the whole list is scanned, and $precpack=$i at the end.
     139# when packname is found in the list $precpack!=$i.
     140    if [ "$precpack" = "$i" ]; then continue; fi
    137141    cat >>$SPECIAL_FILE << EOF
    138142        <module><xsl:text>&#xA;          </xsl:text>
Note: See TracChangeset for help on using the changeset viewer.