mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-16 03:41:11 +01:00
Updated for new line
This commit is contained in:
parent
4accdfe1a2
commit
6bed88bac4
3 changed files with 2 additions and 3 deletions
|
@ -124,6 +124,7 @@ class Packages(Configs):
|
||||||
if pkg_urls:
|
if pkg_urls:
|
||||||
down = Downloader(self.tmp_slpkg, pkg_urls, self.flags)
|
down = Downloader(self.tmp_slpkg, pkg_urls, self.flags)
|
||||||
down.download()
|
down.download()
|
||||||
|
print()
|
||||||
|
|
||||||
def continue_install(self, name) -> bool:
|
def continue_install(self, name) -> bool:
|
||||||
""" Skip installed package when the option --skip-installed is applied
|
""" Skip installed package when the option --skip-installed is applied
|
||||||
|
|
|
@ -43,9 +43,6 @@ class Downloader(Configs):
|
||||||
for url in self.urls:
|
for url in self.urls:
|
||||||
self.tool(url)
|
self.tool(url)
|
||||||
|
|
||||||
if self.urls and not self.urls[0].startswith('file'):
|
|
||||||
print()
|
|
||||||
|
|
||||||
def tool(self, url: str) -> None:
|
def tool(self, url: str) -> None:
|
||||||
""" Downloader tools wget, wget2, curl and lftp. """
|
""" Downloader tools wget, wget2, curl and lftp. """
|
||||||
command: str = ''
|
command: str = ''
|
||||||
|
|
|
@ -193,6 +193,7 @@ class Slackbuilds(Configs):
|
||||||
for pkg, sbo_sources in sources.items():
|
for pkg, sbo_sources in sources.items():
|
||||||
down_urls = Downloader(Path(self.build_path, pkg), sbo_sources, self.flags)
|
down_urls = Downloader(Path(self.build_path, pkg), sbo_sources, self.flags)
|
||||||
down_urls.download()
|
down_urls.download()
|
||||||
|
print()
|
||||||
|
|
||||||
self.checksum_downloads()
|
self.checksum_downloads()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue