summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-11 10:33:26 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-11 10:33:26 +0000
commit83c5dbc1463c6bdafef9b5bce6a246e4d32a45a6 (patch)
tree2873572c01965bb02ba640e14be7c22b82ae1f4f /bin
parentDo automatic backup the resume list when it's length is greater than 1 for bu... (diff)
downloadportage-idfetch-83c5dbc1463c6bdafef9b5bce6a246e4d32a45a6.tar.gz
portage-idfetch-83c5dbc1463c6bdafef9b5bce6a246e4d32a45a6.tar.bz2
portage-idfetch-83c5dbc1463c6bdafef9b5bce6a246e4d32a45a6.zip
dont reset spinner for non-ttys if --quiet is in use
svn path=/main/trunk/; revision=2849
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge
index 4ffdeb63..83ee205a 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -411,8 +411,9 @@ if ("--resume" in myopts):
if ("--nocolor" in myopts) and (sys.stdout.isatty()):
nocolor()
-if not sys.stdout.isatty() or ("--nospinner" in myopts):
- update_spinner = update_basic_spinner
+if not ("--quiet" in myopts):
+ if not sys.stdout.isatty() or ("--nospinner" in myopts):
+ update_spinner = update_basic_spinner
CLEAN_DELAY = 5
EMERGE_WARNING_DELAY = 10