Committed at Fri Apr 22 17:59:46 UTC 2016 by armin@void

This commit is contained in:
Armin Jenewein 2016-04-22 17:59:46 +00:00
parent 839bc5f3ea
commit 6a2a623551
1 changed files with 2 additions and 2 deletions

4
vpm
View File

@ -13,7 +13,7 @@ getversion () {
version="$(getversion)"
# set to "true" to enable colorized output, or to "auto" to use auto-detection via $TERM
# set to "true" to enable colorized output, or "auto" to use auto-detection via $TERM
color=auto
# enable auto colorization
@ -52,7 +52,7 @@ case "$1" in
esac
color () {
if [[ $color == true ]]; then
if [[ ! $color == "false" ]]; then
case "$1" in
[0-9]*)
tput setaf "$1"