Fixed for doubles

This commit is contained in:
Dimitris Zlatanidis 2023-04-22 12:11:35 +03:00
parent eab99d8161
commit 6c6b9571fc
2 changed files with 7 additions and 0 deletions

View file

@ -1,6 +1,8 @@
4.8.1 - 21/04/2023
Updated:
- For error messages
Fixed:
- Double packages as main and as dependency for binaries repos
4.8.0 - 19/04/2023
Fixed:

View file

@ -102,6 +102,11 @@ class Packages(Configs):
if requires:
self.packages_requires = self.choose_dependencies(requires)
# Clean up the main packages if they were selected for dependencies.
for dep in self.packages_requires:
if dep in self.packages:
self.packages.remove(dep)
self.install_order = [*self.packages_requires, *self.packages]
def download(self) -> None: