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