Fixed Xorg7 patches download.
This commit is contained in:
parent
b45f723403
commit
5be3651d7f
1 changed files with 11 additions and 1 deletions
|
@ -173,6 +173,8 @@ cd $UNPACKDIR
</xsl:text>
|
|||
<xsl:when test="@role = 'package'"/>
|
||||
<xsl:when test="not(@role)">
|
||||
<xsl:apply-templates select=".//screen"/>
|
||||
<xsl:apply-templates select="../sect2[@role='package']/itemizedlist/listitem/para"
|
||||
mode="xorg7"/>
|
||||
<xsl:text>WGET_LST=</xsl:text>
|
||||
<xsl:apply-templates select=".//screen" mode="wget_lst"/>
|
||||
<xsl:text>
</xsl:text>
|
||||
|
@ -183,7 +185,7 @@ cd $UNPACKDIR
</xsl:text>
|
|||
tar -xf $package
|
||||
cd $packagedir
</xsl:text>
|
||||
<xsl:apply-templates select=".//screen | .//para/command"/>
|
||||
<xsl:text>cd ..
|
||||
<xsl:text> cd ..
|
||||
rm -rf $packagedir
|
||||
done
</xsl:text>
|
||||
<xsl:if test="$sudo = 'y'">
|
||||
|
@ -384,6 +386,14 @@ done
</xsl:text>
|
|||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="itemizedlist/listitem/para" mode="xorg7">
|
||||
<xsl:if test="contains(string(ulink/@url),'.patch')">
|
||||
<xsl:text>wget </xsl:text>
|
||||
<xsl:value-of select="ulink/@url"/>
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<!--======================== Commands code ==========================-->
|
||||
|
||||
<xsl:template match="screen">
|
||||
|
|
Reference in a new issue