- Timestamp:
- 03/12/2010 03:46:12 AM (14 years ago)
- Branches:
- 2.3, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 11b4d99
- Parents:
- de63126
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_download_pkgs
rde63126 r9d55d85 72 72 fromARCHIVE=1 73 73 else 74 echo "${BOLD}${YELLOW}$FILE: not found in ${SRC_ARCHIVE}${OFF}"75 74 fromARCHIVE=0 76 75 # If the file does not exist yet in /sources download a fresh one 77 76 if [ ! -f $FILE ] ; then 77 if [[ ! ("$SRC_ARCHIVE" = "") ]] ; then 78 echo "${BOLD}${YELLOW}$FILE: not found in ${SRC_ARCHIVE} or /sources${OFF}" 79 else 80 echo "${BOLD}${YELLOW}$FILE: not found in /sources${OFF}" 81 fi 78 82 if ! wget $URL1 $WGETPARAM && ! wget $URL2 $WGETPARAM ; then 79 83 gs_wrt_message "$FILE not found in the SRC_ARCHIVE or on any server..SKIPPING" 80 84 continue 81 85 fi 86 else 87 echo "${BOLD}${YELLOW}$FILE: using cached file in /sources${OFF}" 82 88 fi 83 89 fi
Note:
See TracChangeset
for help on using the changeset viewer.