Restrict progress bar colors to darker shades'

This commit is contained in:
Dylan 2016-03-27 21:17:02 +11:00
parent 0c4608a268
commit 35d120c25d
1 changed files with 3 additions and 1 deletions

View File

@ -2349,7 +2349,9 @@ setcolors () {
if [ "$progress_color_total" == "distro" ]; then
progress_color_total="$1"
[ "$1" == 7 ] && progress_color_total="${2}"
case "$1" in
7 | 3 | 6) progress_color_total="${2}" ;;
esac
fi
}