1179 |
echo -e " fetching (${count_current}/${count_total}): ${pkg} ... " |
echo -e " fetching (${count_current}/${count_total}): ${pkg} ... " |
1180 |
[[ ${VERBOSE} = off ]] && opt="--quiet" |
[[ ${VERBOSE} = off ]] && opt="--quiet" |
1181 |
wget \ |
wget \ |
1182 |
--passive-ftp \ |
${WGET_FETCH_OPTIONS} \ |
|
--tries 3 \ |
|
|
--continue \ |
|
|
--progress bar \ |
|
1183 |
--directory-prefix=${PKGDIR} \ |
--directory-prefix=${PKGDIR} \ |
1184 |
${opt} ${mirr}/${PACKAGES_SERVER_PATH}/${pkg} |
${opt} ${mirr}/${PACKAGES_SERVER_PATH}/${pkg} |
1185 |
if [[ $? = 0 ]] |
if [[ $? = 0 ]] |
1247 |
echo -ne "${COLBLUE} --- ${COLDEFAULT}" |
echo -ne "${COLBLUE} --- ${COLDEFAULT}" |
1248 |
echo "fetching latest md5 from ${mymirr} ..." |
echo "fetching latest md5 from ${mymirr} ..." |
1249 |
wget \ |
wget \ |
1250 |
--passive-ftp \ |
${WGET_FETCH_OPTIONS} \ |
|
--tries 3 \ |
|
|
--continue \ |
|
|
--progress bar \ |
|
1251 |
--directory-prefix=${temp} \ |
--directory-prefix=${temp} \ |
1252 |
${mymirr}/rsync/tarballs/${latest_md5} |
${mymirr}/rsync/tarballs/${latest_md5} |
1253 |
|
|
1254 |
echo -ne "${COLBLUE} --- ${COLDEFAULT}" |
echo -ne "${COLBLUE} --- ${COLDEFAULT}" |
1255 |
echo "fetching latest tarball from ${mymirr} ..." |
echo "fetching latest tarball from ${mymirr} ..." |
1256 |
wget \ |
wget \ |
1257 |
--passive-ftp \ |
${WGET_FETCH_OPTIONS} \ |
|
--tries 3 \ |
|
|
--continue \ |
|
|
--progress bar \ |
|
1258 |
--directory-prefix=${temp} \ |
--directory-prefix=${temp} \ |
1259 |
${mymirr}/rsync/tarballs/${latest_tarball} |
${mymirr}/rsync/tarballs/${latest_tarball} |
1260 |
if [[ $? = 0 ]] |
if [[ $? = 0 ]] |