Don't let total bar be white

This commit is contained in:
Dylan 2016-03-27 20:49:06 +11:00
parent c51f7cdac3
commit 3ac52b1717

View file

@ -2347,8 +2347,10 @@ setcolors () {
[ "$progress_color_elapsed" == "distro" ] && \ [ "$progress_color_elapsed" == "distro" ] && \
progress_color_elapsed="7" progress_color_elapsed="7"
[ "$progress_color_total" == "distro" ] && \ if [ "$progress_color_total" == "distro" ]; then
progress_color_total="$2" progress_color_total="$2"
[ "$2" == 7 ] && progress_color_total="${1}"
fi
} }
color () { color () {