summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/einput.eclass')
-rw-r--r--eclass/einput.eclass5
1 files changed, 0 insertions, 5 deletions
diff --git a/eclass/einput.eclass b/eclass/einput.eclass
index 5cc113e..1079037 100644
--- a/eclass/einput.eclass
+++ b/eclass/einput.eclass
@@ -52,11 +52,6 @@ EINPUT_IANSWER=""
# Set EINPUT_NOCOLOR to "0" to disable colorized output, or "1" to allow it.
# After inheriting this eclass ebuilds may set this var directly, but it's
# preferred to rely on the value supplied here by portageq.
-if [[ "$(portageq envvar NOCOLOR 2>/dev/null)" =~ "true|yes" ]] ; then
- EINPUT_NOCOLOR=1
-else
- EINPUT_NOCOLOR=0
-fi
[[ "$(${ROOT}/sbin/consoletype 2> /dev/null)" == "serial" || $EINPUT_NOCOLOR == 1 ]] &&
unset BOLD NORMAL BLUE BROWN DARKBLUE DARKGREEN DARKRED FUCHSIA GREEN \
PURPLE RED TEAL TURQUOISE YELLOW EINPUT_COLORS