mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Fixed to compare versions for dependencies
This commit is contained in:
parent
cafd129cd0
commit
5c3432feed
2 changed files with 5 additions and 4 deletions
|
@ -6,6 +6,7 @@ Added:
|
|||
- Help command for extra helping
|
||||
Fixed:
|
||||
- TOML decoder error for blacklist file
|
||||
- Fixed to compare versions for dependencies (Thanks to marav)
|
||||
|
||||
4.5.3 - 27/01/2023
|
||||
Added:
|
||||
|
|
|
@ -329,12 +329,12 @@ class Slackbuilds(Configs):
|
|||
title = ' Choose dependencies you want to install '
|
||||
|
||||
for package in dependencies:
|
||||
status = True
|
||||
status = False
|
||||
repo_ver = SBoQueries(package).version()
|
||||
installed = self.utils.is_installed(package, self.file_pattern)
|
||||
self.utils.is_repo_version_bigger(package, self.file_pattern)
|
||||
|
||||
if installed:
|
||||
status = False
|
||||
if self.utils.is_repo_version_bigger(package, self.file_pattern):
|
||||
status = True
|
||||
|
||||
choices += [(package, repo_ver, status)]
|
||||
|
||||
|
|
Loading…
Reference in a new issue