url-lib: don't use --progress-bar if TERM=dumb (RHBZ#814713)
authorWill Woods <wwoods@redhat.com>
Fri, 20 Apr 2012 20:20:25 +0000 (16:20 -0400)
committerHarald Hoyer <harald@redhat.com>
Mon, 23 Apr 2012 09:25:20 +0000 (11:25 +0200)
commitdc1504121b1119f9d797aa276f040f3dfe9d56a3
treeb5c36754ccc5fe09bdf4135c7126411b13d81d37
parentc6a91ec9928f7f09dd70ad597bf96ac60f6b652d
url-lib: don't use --progress-bar if TERM=dumb (RHBZ#814713)

Basically, s390 is the only place I've ever seen TERM=dumb, and it's too
dumb to handle '\r', so --progress-bar produces waaaaay too much output.

The normal progress meter only prints something once per second, so
that's reasonable on terminals where '\r' doesn't work.

See also: https://bugzilla.redhat.com/show_bug.cgi?id=814713
modules.d/45url-lib/url-lib.sh