Ticket #1685: alfs_downloadmsgbug.patch
File alfs_downloadmsgbug.patch, 1014 bytes (added by , 15 years ago) |
---|
-
common/libs/func_download_pkgs
64 64 echo "$FILE: -- copied from $SRC_ARCHIVE" 65 65 fromARCHIVE=1 66 66 else 67 echo "${BOLD}${YELLOW}$FILE: not found in ${SRC_ARCHIVE}${OFF}"68 67 fromARCHIVE=0 69 68 # If the file does not exist yet in /sources download a fresh one 70 69 if [ ! -f $FILE ] ; then 70 if [[ ! ("$SRC_ARCHIVE" = "") ]] ; then 71 echo "${BOLD}${YELLOW}$FILE: not found in ${SRC_ARCHIVE} or /sources${OFF}" 72 else 73 echo "${BOLD}${YELLOW}$FILE: not found in /sources${OFF}" 74 fi 71 75 if ! wget $URL1 && ! wget $URL2 ; then 72 76 gs_wrt_message "$FILE not found in the SRC_ARCHIVE or on any server..SKIPPING" 73 77 continue 74 78 fi 79 else 80 echo "${BOLD}${YELLOW}$FILE: using cached file in /sources${OFF}" 75 81 fi 76 82 fi 77 83