mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Updated for new added packages
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
7230613ee9
commit
ee7e859a3c
1 changed files with 2 additions and 5 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue