Changeset f221c2c for BLFS


Ignore:
Timestamp:
12/04/2006 05:47:37 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:
ac35c8e
Parents:
14eaa9f
Message:

Solved download from sourceforge URLs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/scripts.xsl

    r14eaa9f rf221c2c  
    357357        <xsl:text>    wget ${FTP_SERVER}conglomeration/$PKG_DIR/$PACKAGE</xsl:text>
    358358        <!-- Upstream HTTP URL -->
    359         <xsl:if test="string-length(ulink/@url) &gt; '10' and
    360                       not(contains(string(ulink/@url),'sourceforge'))">
     359        <xsl:if test="string-length(ulink/@url) &gt; '10'">
    361360          <xsl:text> || \&#xA;    wget </xsl:text>
    362           <xsl:value-of select="ulink/@url"/>
     361          <xsl:choose>
     362            <xsl:when test="contains(ulink/@url,'?')">
     363              <xsl:value-of select="substring-before(ulink/@url,'?')"/>
     364            </xsl:when>
     365            <xsl:otherwise>
     366              <xsl:value-of select="ulink/@url"/>
     367            </xsl:otherwise>
     368          </xsl:choose>
    363369        </xsl:if>
    364370      </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.