diff --git a/installsystems/tools.py b/installsystems/tools.py index 826bae676479bdef93780d755e83c948709fb0a6..7e5ebdd57294fa1c5ea34bddcf8ab32a4daaffa1 100644 --- a/installsystems/tools.py +++ b/installsystems/tools.py @@ -15,6 +15,7 @@ import time from subprocess import call, check_call, CalledProcessError +import installsystems from installsystems.progressbar import ProgressBar, Percentage, FileTransferSpeed from installsystems.progressbar import Bar, BouncingBar, ETA, UnknownLength from installsystems.tarball import Tarball @@ -216,6 +217,8 @@ class PipeFile(object): ''' Set this property to true enable progress bar ''' + if installsystems.quiet is True: + return if val == True and not hasattr(self, "_progressbar_started"): self._progressbar_started = True self._progressbar.start()