Updated for upgrade

This commit is contained in:
Dimitris Zlatanidis 2023-03-29 23:50:53 +03:00
parent 332dc85568
commit 33125895bb

View file

@ -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()