- Timestamp:
- 07/27/2007 07:34:13 PM (17 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 7a84ba7
- Parents:
- a70c289
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/libs/scripts.xsl
ra70c289 r1caf1f4 186 186 <xsl:apply-templates select="../sect2[@role='package']/itemizedlist/listitem/para" mode="xorg7-patch"/> 187 187 <xsl:text>for line in $(grep -v '^#' ../${sect-ver}.wget) ; do 188 if [[ ! -f $ line]] ; then189 if [[ -f $SRC_ARCHIVE/Xorg/$ section/$line]] ; then190 cp $SRC_ARCHIVE/Xorg/$ section/$line $line191 elif [[ -f $SRC_ARCHIVE/Xorg/$ line]] ; then192 cp $SRC_ARCHIVE/Xorg/$ line $line193 elif [[ -f $SRC_ARCHIVE/$ section/$line]] ; then194 cp $SRC_ARCHIVE/$ section/$line $line195 elif [[ -f $SRC_ARCHIVE/$ line]] ; then196 cp $SRC_ARCHIVE/$ line $line188 if [[ ! -f ${line} ]] ; then 189 if [[ -f $SRC_ARCHIVE/Xorg/${section}/${line} ]] ; then 190 cp $SRC_ARCHIVE/Xorg/${section}/${line} ${line} 191 elif [[ -f $SRC_ARCHIVE/Xorg/${line} ]] ; then 192 cp $SRC_ARCHIVE/Xorg/${line} ${line} 193 elif [[ -f $SRC_ARCHIVE/${section}/${line} ]] ; then 194 cp $SRC_ARCHIVE/${section}/${line} ${line} 195 elif [[ -f $SRC_ARCHIVE/${line} ]] ; then 196 cp $SRC_ARCHIVE/${line} ${line} 197 197 else 198 wget ${FTP_SERVER}conglomeration/Xorg/$ line|| \199 wget http://xorg.freedesktop.org/releases/individual/ util/$line198 wget ${FTP_SERVER}conglomeration/Xorg/${line} || \ 199 wget http://xorg.freedesktop.org/releases/individual/${section}/${line} 200 200 fi 201 201 fi … … 208 208 <xsl:text>for package in $(grep -v '^#' ../${sect-ver}.wget) ; do 209 209 packagedir=$(echo $package | sed 's/.tar.bz2//') 210 tar -xf $ package211 cd $ packagedir
</xsl:text>210 tar -xf ${package} 211 cd ${packagedir}
</xsl:text> 212 212 <xsl:apply-templates select=".//screen | .//para/command"/> 213 213 <xsl:text> cd .. 214 rm -rf $ packagedir214 rm -rf ${packagedir} 215 215 sed -i "/${package}/d" ../${sect-ver}.wget 216 216 sed -i "/${package}/d" ../${sect-ver}.md5
Note:
See TracChangeset
for help on using the changeset viewer.