Updated for new added packages

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-09-20 22:20:44 +03:00
parent 7230613ee9
commit ee7e859a3c

View file

@ -476,15 +476,12 @@ class Menu(Configs): # pylint: disable=[R0902]
if added: if added:
packages = [pkg for pkg in packages if not pkg.endswith('_Added.')] packages = [pkg for pkg in packages if not pkg.endswith('_Added.')]
# added = self.choose.packages(self.data, added, command) # New packages added to the repository are pushed to the front of
# Add the new added packages front to list for install. # the list to be installed first.
packages: list = added.extend(packages) packages: list = added.extend(packages)
packages: list = self.choose.packages(self.data, packages, command) packages: list = self.choose.packages(self.data, packages, command)
# Add the new added packages front to list for install.
# packages: list = added.extend(packages)
if not packages: if not packages:
print('\nEverything is up-to-date!\n') print('\nEverything is up-to-date!\n')
raise SystemExit(0) raise SystemExit(0)