From 7b537755c6c36672fca529f5e4b528de6db65023 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 12 May 2023 18:03:19 +0300 Subject: [PATCH] Updated for build version --- slpkg/views/views.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/slpkg/views/views.py b/slpkg/views/views.py index 279d2a10..253f38b2 100644 --- a/slpkg/views/views.py +++ b/slpkg/views/views.py @@ -122,15 +122,13 @@ class ViewMessage(Configs): size: str = self.utils.convert_file_sizes( int(''.join(re.findall(r'\d+', self.data[package]['size_comp'])))) - if mode == 'upgrade': - color: str = self.violet - package: str = self.build_package_and_version(package) - if installed: color: str = self.grey + if upgradable: color: str = self.violet package: str = self.build_package_and_version(package) + if installed and self.option_for_reinstall and not upgradable: color: str = self.violet package: str = self.build_package_and_version(package)