diff --git a/slpkg/upgrade.py b/slpkg/upgrade.py index 3b390356..913d1f2b 100644 --- a/slpkg/upgrade.py +++ b/slpkg/upgrade.py @@ -45,7 +45,8 @@ class Upgrade(Configs): if self.utils.is_option(self.flag_bin_repository, self.flags): repo_package: str = BinQueries(package, self.repo).package_bin() - return parse(repo_package[:-4]) > parse(inst_package) + repo_version: str = BinQueries(package, self.repo).version() + repo_build: str = self.utils.split_binary_pkg(repo_package)[3] else: repo_version: str = SBoQueries(package).version()