Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 373219 | Differences between
and this patch

Collapse All | Expand All

(-)a/functions_orig.sh (-6 / +15 lines)
Lines 452-463 fi Link Here
452
if yesno "${RC_NOCOLOR}"; then
452
if yesno "${RC_NOCOLOR}"; then
453
	unset GOOD WARN BAD NORMAL HILITE BRACKET
453
	unset GOOD WARN BAD NORMAL HILITE BRACKET
454
else
454
else
455
	GOOD='\033[32;01m'
455
	if type tput >/dev/null 2>&1; then
456
	WARN='\033[33;01m'
456
		GOOD="$(tput bold)$(tput setaf 2)"
457
	BAD='\033[31;01m'
457
		WARN="$(tput bold)$(tput setaf 3)"
458
	HILITE='\033[36;01m'
458
		BAD="$(tput bold)$(tput setaf 1)"
459
	BRACKET='\033[34;01m'
459
		HILITE="$(tput bold)$(tput setaf 6)"
460
	NORMAL='\033[0m'
460
		BRACKET="$(tput bold)$(tput setaf 4)"
461
		NORMAL="$(tput sgr0)"
462
	else
463
		GOOD='\033[32;01m'
464
		WARN='\033[33;01m'
465
		BAD='\033[31;01m'
466
		HILITE='\033[36;01m'
467
		BRACKET='\033[34;01m'
468
		NORMAL='\033[0m'
469
	fi
461
fi
470
fi
462
471
463
# vim:ts=4
472
# vim:ts=4

Return to bug 373219