mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 18:35:37 -04:00
[packages] Log unfamiliar package operations
- unknown operations get a warning - "source" will be added from netinstall shortly
This commit is contained in:
parent
056b0d7548
commit
7cadfb8ddd
2 changed files with 10 additions and 4 deletions
|
@ -478,7 +478,10 @@ def run_operations(pkgman, entry):
|
|||
else:
|
||||
for package in package_list:
|
||||
pkgman.install_package(package, from_local=True)
|
||||
|
||||
elif key == "source":
|
||||
libcalamares.utils.debug("Package-list from {!s}".format(entry[key]))
|
||||
else:
|
||||
libcalamares.utils.warning("Unknown package-operation key {!s}".format(key))
|
||||
completed_packages += len(package_list)
|
||||
libcalamares.job.setprogress(completed_packages * 1.0 / total_packages)
|
||||
libcalamares.utils.debug(pretty_name())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue