Changeset e6e0c85 for LFS/lfs.xsl


Ignore:
Timestamp:
11/29/2014 08:43:35 PM (10 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
a983256
Parents:
c5650f9
Message:

Fix a long standing bug in lfs.xsl, which tried to use packageManager.xml
when Package management was not in use, resulting in errors in
000-masterscript.log
Also correct a typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    rc5650f9 re6e0c85  
    127127                                   screen[not(@role) or
    128128                                          @role!='nodump']/userinput"/>
    129       <xsl:if test="@id='ch-system-creatingdirs'">
     129      <xsl:if test="@id='ch-system-creatingdirs' and $pkgmngt='y'">
    130130        <xsl:apply-templates
    131131           select="document('packageManager.xml')//sect1[
    132132                                       @id='ch-pkgmngt-creatingdirs'
    133                                                         ]//userinput"/>
     133                                                        ]//userinput"
     134           mode="pkgmngt"/>
    134135      </xsl:if>
    135       <xsl:if test="@id='ch-system-createfiles'">
     136      <xsl:if test="@id='ch-system-createfiles' and $pkgmngt='y'">
    136137        <xsl:apply-templates
    137138           select="document('packageManager.xml')//sect1[
    138139                                       @id='ch-pkgmngt-createfiles'
    139                                                         ]//userinput"/>
     140                                                        ]//userinput"
     141           mode="pkgmngt"/>
    140142      </xsl:if>
    141143      <xsl:text>echo -e "\n\nTotalseconds: $SECONDS\n"&#xA;</xsl:text>
     
    533535            <xsl:otherwise>
    534536              <xsl:text>make DESTDIR=$PKG_DEST</xsl:text>
    535               <xsl:call-template name="outputpkgdest">>
     537              <xsl:call-template name="outputpkgdest">
    536538                <xsl:with-param
    537539                    name="outputstring"
Note: See TracChangeset for help on using the changeset viewer.