Index: Mk/Scripts/do-fetch.sh =================================================================== --- Mk/Scripts/do-fetch.sh +++ Mk/Scripts/do-fetch.sh @@ -144,6 +144,16 @@ if env -S "${dp_FETCH_ENV}" ${_fetch_cmd}; then actual_size=$(stat -f %z "${file}") if [ -n "${dp_DISABLE_SIZE}" ] || [ -z "${CKSIZE}" ] || [ "${actual_size}" -eq "${CKSIZE}" ]; then + if [ -n "${dp_DEVELOPER}" ]; then + if [ "${site}" = "${dp_MASTER_SITE_BACKUP}" -a ${sites_remaining} -eq 0 ]; then + ${dp_ECHO_MSG} "===> /!\\ Warning /!\\" + ${dp_ECHO_MSG} + ${dp_ECHO_MSG} " Fetched $file distfile from the backup MASTER_SITE." + ${dp_ECHO_MSG} " Please check availablity of primary MASTER_SITES" + ${dp_ECHO_MSG} " if this situation persist." + ${dp_ECHO_MSG} + fi + fi continue 2 else ${dp_ECHO_MSG} "=> Fetched file size mismatch (expected ${CKSIZE}, actual ${actual_size})"