mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Fixed for downloading
This commit is contained in:
parent
d0d8c7c1e8
commit
cd5bd1240e
1 changed files with 5 additions and 4 deletions
|
@ -73,15 +73,16 @@ class Packages(Configs):
|
|||
|
||||
pkg_urls.append(f'{mirror}{location}/{package}')
|
||||
self.binary_packages.append(package)
|
||||
|
||||
self.utils.remove_file_if_exists(self.tmp_slpkg, package)
|
||||
|
||||
down = Downloader(self.tmp_slpkg, pkg_urls, self.flags)
|
||||
down.download()
|
||||
else:
|
||||
version: str = BinQueries(pkg).version()
|
||||
self.view_message.view_skipping_packages(pkg, version)
|
||||
print()
|
||||
|
||||
if pkg_urls:
|
||||
down = Downloader(self.tmp_slpkg, pkg_urls, self.flags)
|
||||
down.download()
|
||||
print()
|
||||
|
||||
def checksum(self) -> None:
|
||||
""" Packages checksums. """
|
||||
|
|
Loading…
Reference in a new issue