mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-20 10:26:44 +01:00
Updated for upgrade
This commit is contained in:
parent
332dc85568
commit
33125895bb
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue