mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
[unpackfs] Don't jump back in progress while counting
This commit is contained in:
parent
af0d04d523
commit
facf5af589
1 changed files with 2 additions and 2 deletions
|
@ -309,10 +309,10 @@ class UnpackOperation:
|
|||
source_mount_path = tempfile.mkdtemp()
|
||||
|
||||
try:
|
||||
job.setprogress(0.0)
|
||||
complete = 0
|
||||
for entry in self.entries:
|
||||
status = _("Starting to unpack {}").format(entry.source)
|
||||
job.setprogress(0.0)
|
||||
job.setprogress( ( 1.0 * complete ) / len(self.entries) )
|
||||
entry.do_mount(source_mount_path)
|
||||
entry.do_count() # Fill in the entry.total
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue