mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 03:34:15 +02:00
[improvement][aur] preventing the dependencies checking algorithm to add duplicates
This commit is contained in:
@@ -553,11 +553,14 @@ class ArchManager(SoftwareManager):
|
||||
return
|
||||
|
||||
for dep in missing_subdeps:
|
||||
sorted_deps.append(dep)
|
||||
if dep not in sorted_deps:
|
||||
sorted_deps.append(dep)
|
||||
|
||||
for dep, repo in known_deps.items():
|
||||
if repo != 'aur':
|
||||
sorted_deps.append((dep, repo))
|
||||
data = (dep, repo)
|
||||
if data not in sorted_deps:
|
||||
sorted_deps.append(data)
|
||||
|
||||
for dep in aur_deps:
|
||||
sorted_deps.append((dep, 'aur'))
|
||||
|
||||
Reference in New Issue
Block a user