[fix][ui] calling required tasks when '--settings' is specified as a param

This commit is contained in:
Vinicius Moreira
2020-06-11 17:15:20 -03:00
parent ef70ce0864
commit f0c44ab019
4 changed files with 11 additions and 4 deletions

View File

@@ -366,6 +366,11 @@ class GenericSoftwareManager(SoftwareManager):
man.prepare(taskman, root_password, internet_on)
self._already_prepared.append(man)
def cache_available_managers(self):
if self.managers:
for man in self.managers:
self._can_work(man)
def list_updates(self, internet_available: bool = None) -> List[PackageUpdate]:
self._wait_to_be_ready()