Changeset 05b955b for BLFS/xsl/scripts.xsl
- Timestamp:
- 11/21/2023 09:12:28 AM (10 months ago)
- Branches:
- ablfs-more, trunk
- Children:
- c1f02f2
- Parents:
- 23b0161
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/xsl/scripts.xsl
r23b0161 r05b955b 442 442 </xsl:call-template> 443 443 </xsl:variable> 444 <xsl:variable name="first_letter"445 select="translate(substring($package,1,1),446 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',447 'abcdefghijklmnopqrstuvwxyz')"/>448 444 <xsl:text>
</xsl:text> 449 445 <xsl:value-of select="$varname"/> … … 461 457 <xsl:value-of select="$varname"/> 462 458 <xsl:text>" 463 else
</xsl:text> 464 <!-- Download from upstream http --> 465 <xsl:if test="string-length($httpurl) > 10"> 466 <xsl:text> wget -T 30 -t 5 "</xsl:text> 467 <xsl:value-of select="$httpurl"/> 468 <xsl:text>" ||
</xsl:text> 469 </xsl:if> 470 <!-- Download from upstream ftp --> 471 <xsl:if test="string-length($ftpurl) > 10"> 472 <xsl:text> wget -T 30 -t 5 "</xsl:text> 473 <xsl:value-of select="$ftpurl"/> 474 <xsl:text>" ||
</xsl:text> 475 </xsl:if> 476 <!-- The FTP_SERVER mirror as a last resort --> 477 <xsl:text> wget -T 30 -t 5 "${JH_FTP_SERVER}svn/</xsl:text> 478 <xsl:value-of select="$first_letter"/> 479 <xsl:text>/$</xsl:text> 480 <xsl:value-of select="$varname"/> 459 else<!-- Download from upstream http --> 460 wget -T 30 -t 5 "</xsl:text> 461 <xsl:value-of select="$httpurl"/> 481 462 <xsl:text>" 482 463 fi
Note:
See TracChangeset
for help on using the changeset viewer.