diff options
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index 5307268..70b9387 100644 --- a/scripts/functions +++ b/scripts/functions @@ -88,7 +88,7 @@ CT_DoLog() { color="CT_${cur_L}_COLOR" normal="CT_NORMAL_COLOR" if [ ${cur_l} -le ${max_level} ]; then - echo -e "${!color}${l}${!normal}" + echo -e "\r${!color}${l}${!normal}" else ${CT_PROG_BAR} fi @@ -267,8 +267,10 @@ CT_GetFile() { ext=`CT_GetFileExtension "${file}"` if [ -n "${ext}" ]; then if [ "${CT_FORCE_DOWNLOAD}" = "y" ]; then + CT_DoLog DEBUG "Removing already present \"${file}\"" rm -f "${CT_TARBALLS_DIR}/${file}${ext}" else + CT_DoLog EXTRA "Already have \"${file}\"" return 0 fi fi |