mirror of
https://github.com/munki/munki.git
synced 2026-01-24 07:59:19 -06:00
Merge branch 'main' into Munki5dev
This commit is contained in:
@@ -327,7 +327,7 @@ def run(options_list, catalog_url=None, stop_allowed=False):
|
||||
# Snow Leopard/Lion progress info with '-v' flag
|
||||
# Big Sur has 'downloading/Downloading' percent-done
|
||||
try:
|
||||
percent = int(output.partition(": ")[2].rstrip('%'))
|
||||
percent = int(float(output.partition(": ")[2].rstrip('%')))
|
||||
except ValueError:
|
||||
percent = -1
|
||||
display.display_percent_done(percent, 100)
|
||||
|
||||
Reference in New Issue
Block a user