echo: purge some unused echo helpers

Partial fix for #952880

Gbp-Dch: Short
This commit is contained in:
Lyndon Brown 2020-03-01 02:59:43 +00:00 committed by Luca Boccassi
parent 57a9428080
commit 06f632efdf
1 changed files with 0 additions and 36 deletions

View File

@ -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