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