Add travis condition

This commit is contained in:
Dylan 2016-03-29 18:25:11 +11:00
parent 059eb0eec0
commit 3ea3451417
1 changed files with 6 additions and 2 deletions

View File

@ -2755,11 +2755,15 @@ while [ "$1" ]; do
disk_display="infobar" disk_display="infobar"
printinfo () { printinfo () {
if [ ! -z "$TRAVIS_OS_NAME" ]; then
info linebreak info linebreak
info linebreak info linebreak
fi
for func in "${info[@]}"; do for func in "${info[@]}"; do
info "$(tr '[:lower:]' '[:upper:]' <<< "$func")" $func info "$(tr '[:lower:]' '[:upper:]' <<< "$func")" $func
done done
info linebreak info linebreak
info cols info cols
info linebreak info linebreak