mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Updated for process messages
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
a68a616ffb
commit
177053cec1
2 changed files with 4 additions and 4 deletions
|
@ -134,7 +134,7 @@ class Packages(Configs): # pylint: disable=[R0902]
|
|||
packages: dict = {}
|
||||
asc_files: list = []
|
||||
if self.install_order:
|
||||
print('\rPrepare sources for downloading... ', end='')
|
||||
self.view_process.message('Prepare sources for downloading')
|
||||
for pkg in self.install_order:
|
||||
package: str = self.data[pkg]['package']
|
||||
mirror: str = self.data[pkg]['mirror']
|
||||
|
@ -151,7 +151,7 @@ class Packages(Configs): # pylint: disable=[R0902]
|
|||
self.binary_packages.append(package)
|
||||
self.utils.remove_file_if_exists(self.tmp_slpkg, package)
|
||||
|
||||
print(f'{self.bgreen}{self.ascii.done}{self.endc}')
|
||||
self.view_process.done()
|
||||
self.download_the_binary_packages(packages)
|
||||
if self.gpg_verification:
|
||||
self.gpg.verify(asc_files)
|
||||
|
|
|
@ -148,7 +148,7 @@ class Slackbuilds(Configs): # pylint: disable=[R0902,R0904]
|
|||
""" Prepare slackbuilds for build.
|
||||
"""
|
||||
if self.install_order:
|
||||
print('\rPrepare sources for downloading... ', end='')
|
||||
self.view_process.message('Prepare sources for downloading')
|
||||
for sbo in self.install_order:
|
||||
build_path: Path = Path(self.build_path, sbo)
|
||||
|
||||
|
@ -174,7 +174,7 @@ class Slackbuilds(Configs): # pylint: disable=[R0902,R0904]
|
|||
|
||||
self.sources[sbo] = (sources, Path(self.build_path, sbo))
|
||||
|
||||
print(f'{self.bgreen}{self.ascii.done}{self.endc}')
|
||||
self.view_process.done()
|
||||
|
||||
def download_the_sources(self) -> None:
|
||||
""" Download the sources.
|
||||
|
|
Loading…
Reference in a new issue