Updated for installed

This commit is contained in:
Dimitris Zlatanidis 2024-03-15 20:41:35 +02:00
parent af71f7c66e
commit faad926433

View file

@ -117,7 +117,7 @@ class View(Configs):
color: str = self.cyan color: str = self.cyan
version: str = self.data[package]['version'] version: str = self.data[package]['version']
installed: str = self.utils.is_package_installed(package) installed: str = self.utils.is_package_installed(package)
upgradable: bool = self.upgrade.is_package_upgradeable(package) upgradable: bool = self.upgrade.is_package_upgradeable(installed)
if self.repository not in [self.repos.sbo_repo_name, self.repos.ponce_repo_name]: if self.repository not in [self.repos.sbo_repo_name, self.repos.ponce_repo_name]:
size: str = self.utils.convert_file_sizes(int(self.data[package]['size_comp'])) size: str = self.utils.convert_file_sizes(int(self.data[package]['size_comp']))