mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Fix ignore packages with version 'blacklist'
This commit is contained in:
parent
555a08c000
commit
87b6e2c2e1
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ def pkg_upgrade(repo, skip):
|
||||||
if (repo_pkg[0] == inst_pkg[0] and
|
if (repo_pkg[0] == inst_pkg[0] and
|
||||||
LooseVersion(repo_pkg[1]) > LooseVersion(inst_pkg[1]) and
|
LooseVersion(repo_pkg[1]) > LooseVersion(inst_pkg[1]) and
|
||||||
repo_pkg[3] >= inst_pkg[3] and
|
repo_pkg[3] >= inst_pkg[3] and
|
||||||
inst_pkg[0] not in skip):
|
inst_pkg[0] not in skip and
|
||||||
|
repo_pkg[1] != "blacklist"):
|
||||||
pkgs_for_upgrade.append(repo_pkg[0])
|
pkgs_for_upgrade.append(repo_pkg[0])
|
||||||
Msg().done()
|
Msg().done()
|
||||||
return pkgs_for_upgrade
|
return pkgs_for_upgrade
|
||||||
|
|
Loading…
Reference in a new issue