mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-16 03:41:11 +01:00
fix resolve deps if binary upgrades
This commit is contained in:
parent
521d47f45a
commit
b94165bfbd
1 changed files with 2 additions and 0 deletions
|
@ -205,6 +205,8 @@ class BinaryInstall(object):
|
||||||
requires = []
|
requires = []
|
||||||
Msg().resolving()
|
Msg().resolving()
|
||||||
for dep in self.packages:
|
for dep in self.packages:
|
||||||
|
if self.if_upgrade:
|
||||||
|
dep = dep.split("-")[0]
|
||||||
dependencies = []
|
dependencies = []
|
||||||
dependencies = Utils().dimensional_list(Dependencies(
|
dependencies = Utils().dimensional_list(Dependencies(
|
||||||
self.PACKAGES_TXT, self.repo).binary(dep))
|
self.PACKAGES_TXT, self.repo).binary(dep))
|
||||||
|
|
Loading…
Reference in a new issue