From c57e86026573860f8ae222fc8742c9bd746cf4c5 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 27 Mar 2023 11:30:42 +0300 Subject: [PATCH] Fixed summary --- slpkg/views/views.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/slpkg/views/views.py b/slpkg/views/views.py index 8ec83056..b14ec470 100644 --- a/slpkg/views/views.py +++ b/slpkg/views/views.py @@ -199,13 +199,9 @@ class ViewMessage(Configs): reinstall: bool = self.utils.is_option(self.flag_reinstall, self.flags) for sbo in slackbuilds: + upgradeable: str = self.utils.is_package_upgradeable(sbo) - - if sbo in self.utils.installed_package_names: - installed: bool = True - - if sbo in self.utils.installed_package_names: - installed: bool = True + installed: str = self.utils.is_package_installed(sbo) if not installed: install += 1