mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Updated for coding style
This commit is contained in:
parent
e69c8455b6
commit
664869539b
2 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
|||
## slpkg - ChangeLog
|
||||
|
||||
### 5.0.2 - 29/03/2024
|
||||
- Updated:
|
||||
* Updated for coding style
|
||||
|
||||
### 5.0.1 - 29/03/2024
|
||||
- Updated:
|
||||
* Updated to check upgrade packages against all repositories (slpkg upgrade --repository='*' --check)
|
||||
|
|
|
@ -70,8 +70,7 @@ class Upgrade(Configs):
|
|||
if parse(repo_version) > parse(inst_version):
|
||||
return True
|
||||
|
||||
if parse(repo_version) == parse(inst_version):
|
||||
if int(repo_build) > int(inst_build):
|
||||
if parse(repo_version) == parse(inst_version) and int(repo_build) > int(inst_build):
|
||||
return True
|
||||
except InvalidVersion:
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue