r2794 - jhalfs/branches/experimental/BLFS/libs

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sun Jun 18 04:41:48 PDT 2006


Author: manuel
Date: 2006-06-18 05:41:47 -0600 (Sun, 18 Jun 2006)
New Revision: 2794

Modified:
   jhalfs/branches/experimental/BLFS/libs/scripts.xsl
Log:
Skipped SourceForge downloads.
Fixed also the use of || \ 

Modified: jhalfs/branches/experimental/BLFS/libs/scripts.xsl
===================================================================
--- jhalfs/branches/experimental/BLFS/libs/scripts.xsl	2006-06-18 11:06:00 UTC (rev 2793)
+++ jhalfs/branches/experimental/BLFS/libs/scripts.xsl	2006-06-18 11:41:47 UTC (rev 2794)
@@ -303,29 +303,28 @@
         <xsl:text>  elif [[ -f $SRC_ARCHIVE/$PACKAGE ]] ; then&#xA;</xsl:text>
         <xsl:text>    cp $SRC_ARCHIVE/$PACKAGE $PACKAGE&#xA;  else&#xA;</xsl:text>
         <!-- The FTP_SERVER mirror -->
-        <xsl:text>    wget $FTP_SERVER/BLFS/conglomeration/$PKG_DIR/$PACKAGE || \&#xA;</xsl:text>
+        <xsl:text>    wget $FTP_SERVER/BLFS/conglomeration/$PKG_DIR/$PACKAGE</xsl:text>
         <!-- Upstream HTTP URL -->
-        <xsl:if test="string-length(ulink/@url) > '10'">
-          <xsl:text>    wget </xsl:text>
+        <xsl:if test="string-length(ulink/@url) > '10' and
+                      not(contains(string(ulink/@url),'sourceforge'))">
+          <xsl:text> || \&#xA;    wget </xsl:text>
           <xsl:value-of select="ulink/@url"/>
-          <xsl:text> || \&#xA;</xsl:text>
         </xsl:if>
       </xsl:when>
       <xsl:when test="contains(string(),'FTP')">
         <!-- Upstream FTP URL -->
         <xsl:if test="string-length(ulink/@url) > '10'">
-          <xsl:text>    wget </xsl:text>
+          <xsl:text> || \&#xA;    wget </xsl:text>
           <xsl:value-of select="ulink/@url"/>
-          <xsl:text>&#xA;</xsl:text>
         </xsl:if>
-        <xsl:text>  fi&#xA;fi&#xA;</xsl:text>
+        <xsl:text>&#xA;  fi&#xA;fi&#xA;</xsl:text>
       </xsl:when>
       <xsl:when test="contains(string(),'MD5')">
         <xsl:text>echo "</xsl:text>
         <xsl:value-of select="substring-after(string(),'sum: ')"/>
         <xsl:text>&#x20;&#x20;$PACKAGE" | md5sum -c -&#xA;</xsl:text>
       </xsl:when>
-      <!-- Patches. Need be veryfied -->
+      <!-- Patches -->
       <xsl:when test="contains(string(ulink/@url),'.patch')">
         <xsl:text>wget </xsl:text>
         <xsl:value-of select="ulink/@url"/>




More information about the alfs-log mailing list