blob: d803f526def3135fbdc476a131c3bb83c05c73a7 [file] [log] [blame]
Brad Bishop6a62e0e2019-10-21 08:11:42 -04001From 5ef52cdea278a1dff966a912549cb6708f2cb699 Mon Sep 17 00:00:00 2001
2From: Alistair Francis <alistair.francis@wdc.com>
3Date: Tue, 17 Sep 2019 11:31:47 -0700
Brad Bishop2d39a062019-10-28 08:33:36 -04004Subject: [PATCH 3/7] dev_setup.sh: Remove the TERM dependency
Brad Bishop6a62e0e2019-10-21 08:11:42 -04005
6Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Brad Bishop2d39a062019-10-28 08:33:36 -04007Upstream-Status: Inappropriate [embedded specific]
Brad Bishop6a62e0e2019-10-21 08:11:42 -04008---
9 dev_setup.sh | 12 ------------
10 1 file changed, 12 deletions(-)
11
12diff --git a/dev_setup.sh b/dev_setup.sh
13index 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--
362.23.0
37