summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-01 02:59:43 +0000
committerLuca Boccassi <bluca@debian.org>2020-03-05 21:04:23 +0000
commit06f632efdfc9f94121a5662af9b8e732b25f6f86 (patch)
tree30aec0e807d2516390f5533d01370baa45c9179c /functions
parent57a94280805e5997242359760f2339dcd1a39eab (diff)
downloadvyos-live-build-06f632efdfc9f94121a5662af9b8e732b25f6f86.tar.gz
vyos-live-build-06f632efdfc9f94121a5662af9b8e732b25f6f86.zip
echo: purge some unused echo helpers
Partial fix for #952880 Gbp-Dch: Short
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/echo.sh36
1 files changed, 0 insertions, 36 deletions
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