mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Merge print
This commit is contained in:
parent
ed376f30df
commit
800f473c97
3 changed files with 3 additions and 4 deletions
|
@ -124,7 +124,6 @@ class Packages(Configs):
|
|||
if pkg_urls:
|
||||
down = Downloader(self.tmp_slpkg, pkg_urls, self.flags)
|
||||
down.download()
|
||||
print()
|
||||
|
||||
def continue_install(self, name) -> bool:
|
||||
""" Skip installed package when the option --skip-installed is applied
|
||||
|
|
|
@ -42,6 +42,7 @@ class Downloader(Configs):
|
|||
else:
|
||||
for url in self.urls:
|
||||
self.tool(url)
|
||||
print()
|
||||
|
||||
def tool(self, url: str) -> None:
|
||||
""" Downloader tools wget, wget2, curl and lftp. """
|
||||
|
@ -64,8 +65,8 @@ class Downloader(Configs):
|
|||
else:
|
||||
self.errors.raise_error_message(f"Downloader '{self.downloader}' not supported", exit_status=1)
|
||||
|
||||
self.utils.process(command)
|
||||
self.check_if_downloaded(url, filename)
|
||||
self.utils.process(command)
|
||||
self.check_if_downloaded(url, filename)
|
||||
|
||||
def check_if_downloaded(self, url: str, filename: str) -> None:
|
||||
""" Checks if the file downloaded. """
|
||||
|
|
|
@ -195,7 +195,6 @@ class Slackbuilds(Configs):
|
|||
down_urls.download()
|
||||
|
||||
self.checksum_downloads()
|
||||
print() # New line here.
|
||||
|
||||
def checksum_downloads(self) -> None:
|
||||
""" Checking the correct checksums. """
|
||||
|
|
Loading…
Reference in a new issue