diff options
author | Daniel Baumann <daniel@debian.org> | 2008-11-01 16:31:26 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:44 +0100 |
commit | c225229f2910ee138873ecb05b43e8ec3021918d (patch) | |
tree | 0d356298e9e443cd3141ff04ee359ee04faf1224 /functions/color.sh | |
parent | 776a7b22271178949bf6f2676e26eefb6144ce11 (diff) | |
download | vyos-live-build-c225229f2910ee138873ecb05b43e8ec3021918d.tar.gz vyos-live-build-c225229f2910ee138873ecb05b43e8ec3021918d.zip |
Implementing colorful output (currently disabled by default, though).
Diffstat (limited to 'functions/color.sh')
-rwxr-xr-x | functions/color.sh | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/functions/color.sh b/functions/color.sh index feac48bb0..03d333c79 100755 --- a/functions/color.sh +++ b/functions/color.sh @@ -7,34 +7,31 @@ # This is free software, and you are welcome to redistribute it # under certain conditions; see COPYING for details. -if [ "${LH_COLOR}" != "disabled" ] -then - NO_COLOR="\033[0m" +NO_COLOR="\033[0m" - UNDERSCORE="\033[4m" - BLINK="\033[5m" +UNDERSCORE="\033[4m" +BLINK="\033[5m" - BLACK="\033[0;30m" - DARK_GRAY="\033[1;30m" +BLACK="\033[0;30m" +DARK_GRAY="\033[1;30m" - RED="\033[0;31m" - LIGHT_RED="\033[1;31m" +RED="\033[0;31m" +LIGHT_RED="\033[1;31m" - GREEN="\033[0;32m" - LIGHT_GREEN="\033[1;32m" +GREEN="\033[0;32m" +LIGHT_GREEN="\033[1;32m" - BROWN="\033[0;33m" - YELLOW="\033[1;33m" +BROWN="\033[0;33m" +YELLOW="\033[1;33m" - BLUE="\033[0;34m" - LIGHT_BLUE="\033[1;34m" +BLUE="\033[0;34m" +LIGHT_BLUE="\033[1;34m" - PURPLE="\033[0;35m" - LIGHT_PURPLE="\033[1;35m" +PURPLE="\033[0;35m" +LIGHT_PURPLE="\033[1;35m" - CYAN="\033[0;36m" - LIGHT_CYAN="\033[1;36m" +CYAN="\033[0;36m" +LIGHT_CYAN="\033[1;36m" - GRAY="\033[0;37m" - WHITE="\033[1;37m" -fi +GRAY="\033[0;37m" +WHITE="\033[1;37m" |