mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-25 09:58:41 +01:00
Updated comments
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
ee7e859a3c
commit
94d6759bc4
1 changed files with 3 additions and 2 deletions
|
@ -469,15 +469,16 @@ class Menu(Configs): # pylint: disable=[R0902]
|
|||
if package.endswith('_Added.'):
|
||||
added.append(package.replace('_Added.', ''))
|
||||
|
||||
# Remove packages that not exists in the repository.
|
||||
if removed:
|
||||
packages = [pkg for pkg in packages if not pkg.endswith('_Removed.')]
|
||||
remove = RemovePackages(removed, self.flags)
|
||||
remove.remove(upgrade=True)
|
||||
|
||||
# New packages added to the repository are pushed to the front of
|
||||
# the list to be installed first.
|
||||
if added:
|
||||
packages = [pkg for pkg in packages if not pkg.endswith('_Added.')]
|
||||
# New packages added to the repository are pushed to the front of
|
||||
# the list to be installed first.
|
||||
packages: list = added.extend(packages)
|
||||
|
||||
packages: list = self.choose.packages(self.data, packages, command)
|
||||
|
|
Loading…
Reference in a new issue