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