Fixed for downloading

This commit is contained in:
Dimitris Zlatanidis 2023-03-27 11:01:12 +03:00
parent d0d8c7c1e8
commit cd5bd1240e

View file

@ -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. """