# HG changeset patch # User "Yann E. MORIN" # Date 1218447733 0 # Node ID a3619ef5ed989f226f3ab9a9e40a34f6869ea935 # Parent 830fb1f3e49027a71055cf4500c9ac7af2eebc71 Move two log messages around, so that output looks better. /trunk/scripts/functions | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -r 830fb1f3e490 -r a3619ef5ed98 scripts/functions --- a/scripts/functions Sat Aug 09 21:09:22 2008 +0000 +++ b/scripts/functions Mon Aug 11 09:42:13 2008 +0000 @@ -488,6 +488,7 @@ CT_DoLog DEBUG "Trying '${url}/${file}${ext}'" CT_DoGetFile "${url}/${file}${ext}" if [ -f "${file}${ext}" ]; then + CT_DoLog EXTRA "Got '${file}' from the LAN mirror" if [ "${CT_SAVE_TARBALLS}" = "y" ]; then # The file may already exist if downloads are forced: remove it first CT_DoLog EXTRA "Saving '${file}' to local storage" @@ -495,7 +496,6 @@ CT_DoExecLog ALL mv -f "${file}${ext}" "${CT_LOCAL_TARBALLS_DIR}" CT_DoExecLog ALL ln -s "${CT_LOCAL_TARBALLS_DIR}/${file}${ext}" "${file}${ext}" fi - CT_DoLog EXTRA "Got '${file}' from the LAN mirror" return 0 fi done @@ -510,6 +510,7 @@ CT_DoLog DEBUG "Trying '${url}/${file}${ext}'" CT_DoGetFile "${url}/${file}${ext}" if [ -f "${file}${ext}" ]; then + CT_DoLog EXTRA "Got '${file}' from the Internet" if [ "${CT_SAVE_TARBALLS}" = "y" ]; then # The file may already exist if downloads are forced: remove it first CT_DoLog EXTRA "Saving '${file}' to local storage" @@ -517,7 +518,6 @@ CT_DoExecLog ALL mv -f "${file}${ext}" "${CT_LOCAL_TARBALLS_DIR}" CT_DoExecLog ALL ln -s "${CT_LOCAL_TARBALLS_DIR}/${file}${ext}" "${file}${ext}" fi - CT_DoLog EXTRA "Got '${file}' from the Internet" return 0 fi done