From 9c335f7775accb3a8fb6cfeb7474d6ead19865c7 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 7 Mar 2023 20:48:38 +0200 Subject: [PATCH] Fixed for build --- slpkg/slackbuild.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/slpkg/slackbuild.py b/slpkg/slackbuild.py index bc55b77a..f7173ea5 100644 --- a/slpkg/slackbuild.py +++ b/slpkg/slackbuild.py @@ -356,6 +356,9 @@ class Slackbuilds(Configs): help_text: str = f'Installed: {package}-{inst_pkg_ver} -> Available: {repo_ver}' repo_ver: str = f'{inst_pkg_ver} -> {repo_ver}' + if self.mode == 'build': + status: bool = True + if self.mode == 'upgrade' and self.utils.is_package_upgradeable(package, self.file_pattern): status: bool = True