summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-11 22:05:27 +0000
committerRaphaƫl Hertzog <hertzog@debian.org>2020-03-13 15:23:13 +0000
commit346e3e1c36f8dc61e93fdd76dd28174d85e2aa5d (patch)
tree976b59796ecdd22b01d2702cbe6ae84815e3eac0
parent5a1c875cb828c96a08411208bbc0d90d940416f8 (diff)
downloadvyos-live-build-346e3e1c36f8dc61e93fdd76dd28174d85e2aa5d.tar.gz
vyos-live-build-346e3e1c36f8dc61e93fdd76dd28174d85e2aa5d.zip
fix colouring of notice type message prefixes
previously this was white+bold. the white aspect was dropped since this would not be sensible for users with a white background for their terminal. bold however does not have any effect for me at least so effectively there is no highlighting at all. here we reintroduce a colour, one that will work for both black and white backgrounds of course. purple looks good to me - significantly different to that used for errors and warnings, and works well with command highlighting (as enabled separately).
-rwxr-xr-xfunctions/echo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/echo.sh b/functions/echo.sh
index 31c118239..af3c4ca56 100755
--- a/functions/echo.sh
+++ b/functions/echo.sh
@@ -48,7 +48,7 @@ Echo_message ()
STRING="${1}"
shift
- local PREFIX="${BOLD}P${NO_COLOR}"
+ local PREFIX="${PURPLE}P${NO_COLOR}"
if [ "${_COLOR}" = "false" ]; then
PREFIX="P"
fi