Updated check for sorted

This commit is contained in:
Dimitris Zlatanidis 2024-04-11 13:08:43 +03:00
parent f9dd3d6fdc
commit 57b06c3623

View file

@ -129,7 +129,7 @@ class Upgrade(Configs):
for repo, data in repo_data.items(): for repo, data in repo_data.items():
self.load_installed_packages(repo) self.load_installed_packages(repo)
for installed in self.installed_packages: for installed in sorted(self.installed_packages):
name: str = self.utils.split_package(installed.name)['name'] name: str = self.utils.split_package(installed.name)['name']
if data.get(name): if data.get(name):