From 06f632efdfc9f94121a5662af9b8e732b25f6f86 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Sun, 1 Mar 2020 02:59:43 +0000 Subject: echo: purge some unused echo helpers Partial fix for #952880 Gbp-Dch: Short --- functions/echo.sh | 36 ------------------------------------ 1 file changed, 36 deletions(-) (limited to 'functions') diff --git a/functions/echo.sh b/functions/echo.sh index f1aac153d..07dcaf775 100755 --- a/functions/echo.sh +++ b/functions/echo.sh @@ -147,42 +147,6 @@ Echo_warning () printf " ${STRING}\n" "${@}" >&2 } -Echo_status () -{ - __RETURN=$? - - if [ "${_COLOR}" = "false" ] - then - if [ $__RETURN -eq 0 ] - then - printf " done.\n" >&1 - else - printf " failed.\n" >&1 - fi - else - Cursor_columns_backward 8 - - if [ $__RETURN -eq 0 ] - then - printf " ${GREEN}done${NO_COLOR}. \n" >&1 - else - printf " ${RED}failed${NO_COLOR}.\n" >&1 - fi - fi -} - -Echo_done () -{ - if [ "${_COLOR}" = "false" ] - then - printf " already done.\n" >&1 - else - Cursor_columns_backward 8 - - printf " ${GREEN}already done${NO_COLOR}.\n" >&1 - fi -} - Echo_file () { while read LINE -- cgit v1.2.3