Brad Bishop | 6a62e0e | 2019-10-21 08:11:42 -0400 | [diff] [blame^] | 1 | From 5ef52cdea278a1dff966a912549cb6708f2cb699 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alistair Francis <alistair.francis@wdc.com> |
| 3 | Date: Tue, 17 Sep 2019 11:31:47 -0700 |
| 4 | Subject: [PATCH 3/5] dev_setup.sh: Remove the TERM dependency |
| 5 | |
| 6 | Signed-off-by: Alistair Francis <alistair.francis@wdc.com> |
| 7 | --- |
| 8 | dev_setup.sh | 12 ------------ |
| 9 | 1 file changed, 12 deletions(-) |
| 10 | |
| 11 | diff --git a/dev_setup.sh b/dev_setup.sh |
| 12 | index 672b27080c2..72f734f36bf 100755 |
| 13 | --- a/dev_setup.sh |
| 14 | +++ b/dev_setup.sh |
| 15 | @@ -115,18 +115,6 @@ function get_YN() { |
| 16 | done |
| 17 | } |
| 18 | |
| 19 | -# If tput is available and can handle multiple colors |
| 20 | -if found_exe tput ; then |
| 21 | - if [[ $(tput colors) != "-1" ]]; then |
| 22 | - GREEN=$(tput setaf 2) |
| 23 | - BLUE=$(tput setaf 4) |
| 24 | - CYAN=$(tput setaf 6) |
| 25 | - YELLOW=$(tput setaf 3) |
| 26 | - RESET=$(tput sgr0) |
| 27 | - HIGHLIGHT=$YELLOW |
| 28 | - fi |
| 29 | -fi |
| 30 | - |
| 31 | # Run a setup wizard the very first time that guides the user through some decisions |
| 32 | if [[ ! -f .dev_opts.json && -z $CI ]] ; then |
| 33 | echo " |
| 34 | -- |
| 35 | 2.23.0 |
| 36 | |