mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-03 06:56:44 +01:00
Updated for packages
This commit is contained in:
parent
4a2e7e6751
commit
5cce54241e
1 changed files with 8 additions and 8 deletions
|
@ -85,7 +85,7 @@ class ViewMessage(Configs):
|
|||
|
||||
self.summary(slackbuilds, dependencies, option='build')
|
||||
|
||||
def install_packages(self, slackbuilds: list, dependencies: list, mode: str) -> None:
|
||||
def install_packages(self, packages: list, dependencies: list, mode: str) -> None:
|
||||
""" View packages for install. """
|
||||
title: str = 'Install Packages'
|
||||
if mode == 'upgrade':
|
||||
|
@ -93,19 +93,19 @@ class ViewMessage(Configs):
|
|||
|
||||
self.ascii.draw_package_title_box('The following packages will be installed or upgraded:', title)
|
||||
|
||||
for sbo in slackbuilds:
|
||||
version: str = SBoQueries(sbo).version()
|
||||
self.view_packages(sbo, version, mode=mode)
|
||||
for pkg in packages:
|
||||
version: str = SBoQueries(pkg).version()
|
||||
self.view_packages(pkg, version, mode=mode)
|
||||
|
||||
if dependencies:
|
||||
self.ascii.draw_middle_line()
|
||||
self.ascii.draw_dependency_line()
|
||||
|
||||
for sbo in dependencies:
|
||||
version: str = SBoQueries(sbo).version()
|
||||
self.view_packages(sbo, version, mode=mode)
|
||||
for pkg in dependencies:
|
||||
version: str = SBoQueries(pkg).version()
|
||||
self.view_packages(pkg, version, mode=mode)
|
||||
|
||||
self.summary(slackbuilds, dependencies, option=mode)
|
||||
self.summary(packages, dependencies, option=mode)
|
||||
|
||||
def download_packages(self, slackbuilds: list, directory: Path) -> None:
|
||||
""" View downloaded packages. """
|
||||
|
|
Loading…
Reference in a new issue