copy back downloaded files to SRC_ARCHIVE in BLFS
This commit is contained in:
parent
0aaeb8ec6e
commit
fd988ce1ca
1 changed files with 20 additions and 4 deletions
|
@ -296,7 +296,11 @@ mv ../${sect_ver}.md5.orig ../${sect_ver}.md5
</xsl:text>
|
|||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:if test="not(contains(string(parent::listitem/following-sibling::listitem[1]/para),'FTP'))">
|
||||
<xsl:text>
 fi
fi
</xsl:text>
|
||||
<xsl:text>
|
||||
cp $PACKAGE $SRC_ARCHIVE
|
||||
fi
|
||||
fi
|
||||
</xsl:text>
|
||||
</xsl:if>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
|
@ -306,7 +310,11 @@ mv ../${sect_ver}.md5.orig ../${sect_ver}.md5
</xsl:text>
|
|||
<xsl:text> || \
 wget -T 30 -t 5 </xsl:text>
|
||||
<xsl:value-of select="ulink/@url"/>
|
||||
</xsl:if>
|
||||
<xsl:text>
 fi
fi
</xsl:text>
|
||||
<xsl:text>
|
||||
cp $PACKAGE $SRC_ARCHIVE
|
||||
fi
|
||||
fi
|
||||
</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="contains(string(),'MD5')">
|
||||
<!-- some md5 sums are written with a LF -->
|
||||
|
@ -346,7 +354,11 @@ mv ../${sect_ver}.md5.orig ../${sect_ver}.md5
</xsl:text>
|
|||
<xsl:text>wget -T 30 -t 5 </xsl:text>
|
||||
<xsl:value-of select="ulink/@url"/>
|
||||
<xsl:text>
</xsl:text>
|
||||
<xsl:text>
 fi
fi
</xsl:text>
|
||||
<xsl:text>
|
||||
cp $PATCH $SRC_ARCHIVE
|
||||
fi
|
||||
fi
|
||||
</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="ulink">
|
||||
<xsl:if test="string-length(ulink/@url) > '10'">
|
||||
|
@ -374,7 +386,11 @@ mv ../${sect_ver}.md5.orig ../${sect_ver}.md5
</xsl:text>
|
|||
<xsl:text>/$PACKAGE1</xsl:text>
|
||||
<xsl:text> || \
 wget -T 30 -t 5 </xsl:text>
|
||||
<xsl:value-of select="ulink/@url"/>
|
||||
<xsl:text>
 fi
fi
</xsl:text>
|
||||
<xsl:text>
|
||||
cp $PACKAGE1 $SRC_ARCHIVE
|
||||
fi
|
||||
fi
|
||||
</xsl:text>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
<xsl:when test="contains(string(),'MD5')">
|
||||
|
|
Reference in a new issue