mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
fix clear master packages
This commit is contained in:
parent
19a011baf7
commit
a742e6b21d
1 changed files with 4 additions and 4 deletions
|
@ -167,10 +167,10 @@ class SBoInstall(object):
|
|||
Clear master slackbuilds if already exist in dependencies
|
||||
or if added to install two or more times
|
||||
'''
|
||||
for mas, ver in zip(Utils().remove_dbs(self.master_packages),
|
||||
self.pkg_ver):
|
||||
if mas not in self.dependencies:
|
||||
self.master_packages.append(mas)
|
||||
self.master_packages = Utils().remove_dbs(self.master_packages)
|
||||
for mas, ver in zip(self.master_packages, self.pkg_ver):
|
||||
if mas in self.dependencies:
|
||||
self.master_packages.remove(mas)
|
||||
self.pkg_ver.append(ver)
|
||||
|
||||
def matching(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue