Changeset 5be3651 for BLFS


Ignore:
Timestamp:
08/15/2006 05:23:39 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
401f81e
Parents:
b45f723
Message:

Fixed Xorg7 patches download.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/scripts.xsl

    rb45f723 r5be3651  
    174174      <xsl:when test="not(@role)">
    175175        <xsl:apply-templates select=".//screen"/>
     176        <xsl:apply-templates select="../sect2[@role='package']/itemizedlist/listitem/para"
     177                             mode="xorg7"/>
    176178        <xsl:text>WGET_LST=</xsl:text>
    177179        <xsl:apply-templates select=".//screen" mode="wget_lst"/>
     
    184186  cd $packagedir&#xA;</xsl:text>
    185187        <xsl:apply-templates select=".//screen | .//para/command"/>
    186         <xsl:text>cd ..
     188        <xsl:text>  cd ..
    187189  rm -rf $packagedir
    188190done&#xA;</xsl:text>
     
    385387  </xsl:template>
    386388
     389  <xsl:template match="itemizedlist/listitem/para" mode="xorg7">
     390    <xsl:if test="contains(string(ulink/@url),'.patch')">
     391      <xsl:text>wget </xsl:text>
     392      <xsl:value-of select="ulink/@url"/>
     393      <xsl:text>&#xA;</xsl:text>
     394    </xsl:if>
     395  </xsl:template>
     396
    387397<!--======================== Commands code ==========================-->
    388398
Note: See TracChangeset for help on using the changeset viewer.