pentoo-updater: restore color, even if it ends up in the logs

This commit is contained in:
Rick Farina (Zero_Chaos) 2019-05-16 13:54:17 -04:00
parent 9b19526fd7
commit 1aed0fc84f
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -23,6 +23,9 @@ fi
. /etc/profile
env-update
#colorize the updates even if colors end up in the logs
export EMERGE_DEFAULT_OPTS="$(portageq envvar EMERGE_DEFAULT_OPTS) --color=y"
check_profile () {
if [ -L "/etc/portage/make.profile" ] && [ ! -e "/etc/portage/make.profile" ]; then
failure="0"