mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-15 03:41:16 +01:00
Fixed print message
This commit is contained in:
parent
498b55d0e2
commit
04076328f2
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,6 @@ class ViewMessage:
|
||||||
|
|
||||||
def remove_packages(self, packages: list):
|
def remove_packages(self, packages: list):
|
||||||
""" View remove packages. """
|
""" View remove packages. """
|
||||||
print('The following packages will be removed:\n')
|
|
||||||
slackbuilds, dependencies, deps = [], [], []
|
slackbuilds, dependencies, deps = [], [], []
|
||||||
for pkg in packages:
|
for pkg in packages:
|
||||||
slackbuilds.append(pkg)
|
slackbuilds.append(pkg)
|
||||||
|
@ -86,6 +85,8 @@ class ViewMessage:
|
||||||
if deps and '--resolve-off' not in self.flags:
|
if deps and '--resolve-off' not in self.flags:
|
||||||
dependencies = self.choose_dependencies_for_remove(dependencies)
|
dependencies = self.choose_dependencies_for_remove(dependencies)
|
||||||
|
|
||||||
|
print('The following packages will be removed:\n')
|
||||||
|
|
||||||
for pkg in slackbuilds:
|
for pkg in slackbuilds:
|
||||||
self._view_removed(pkg)
|
self._view_removed(pkg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue