Changeset c650f9bf


Ignore:
Timestamp:
08/26/2016 02:42:07 PM (8 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
new_features
Children:
c785566
Parents:
24e2a6f
Message:

When testing preceding/following-sibling for wrapping,
only use the first in the series

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/scripts.xsl

    r24e2a6f rc650f9bf  
    388388      <xsl:choose>
    389389        <xsl:when test="@role = 'root'">
    390           <xsl:if test="not(preceding-sibling::screen[@role='root'])">
     390          <xsl:if test="not(preceding-sibling::screen[1][@role='root'])">
    391391            <xsl:if test="$sudo = 'y'">
    392392              <xsl:text>sudo -E sh &lt;&lt; ROOT_EOF&#xA;</xsl:text>
     
    404404          </xsl:if>
    405405          <xsl:apply-templates mode="root"/>
    406           <xsl:if test="not(following-sibling::screen[@role='root'])">
     406          <xsl:if test="not(following-sibling::screen[1][@role='root'])">
    407407            <xsl:if test="$wrap-install = 'y' and
    408408                          ancestor::sect2[@role='installation']">
Note: See TracChangeset for help on using the changeset viewer.