mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
[improvement][aur] preventing the dependencies checking algorithm to add duplicates
This commit is contained in:
@@ -9,6 +9,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- Web
|
||||
- not able to inject javascript fixes ( WhatsApp Web not working) [#74](https://github.com/vinifmor/bauh/issues/74)
|
||||
|
||||
### Improvements
|
||||
- AUR
|
||||
- preventing the dependencies checking algorithm to add duplicates
|
||||
|
||||
### i18n
|
||||
- Russian ( ru ):
|
||||
- [leoneii](https://github.com/leoneii) - PRs: [#66](https://github.com/vinifmor/bauh/pull/66), [#67](https://github.com/vinifmor/bauh/pull/67), [#68](https://github.com/vinifmor/bauh/pull/68)
|
||||
|
||||
@@ -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