From 8dc464678e10b1c1b50afeb5428bea361af9b995 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Thu, 16 Mar 2017 12:49:01 +0000 Subject: [PATCH] Merge new_features: Allows to retrieve package from SRC_ARCHIVE, in case it is not already there and is in archive. This should not happen in normal operation, but may happen in func_install_blfs --- BLFS/xsl/scripts.xsl | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index c433a2e..4501514 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -221,48 +221,38 @@ cd $UNPACKDIR if [[ ! -f $ - ]] ; then - + + else - wget -T 30 -t 5 + wget -T 30 -t 5 || - wget -T 30 -t 5 + wget -T 30 -t 5 || - wget -T 30 -t 5 ${FTP_SERVER}svn/ + wget -T 30 -t 5 ${FTP_SERVER}svn/ /$ - - + $SRC_ARCHIVE--> + fi fi @@ -276,8 +266,7 @@ fi - -[[ "$SRC_DIR" != "$BUILD_DIR" ]] && ln -sf $SRC_DIR/$ + [[ "$SRC_DIR" != "$BUILD_DIR" ]] && ln -sf $SRC_DIR/$ $BUILD_DIR