mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Updated for sbo
This commit is contained in:
parent
d30cfe42c1
commit
83b333d205
1 changed files with 2 additions and 2 deletions
|
@ -38,14 +38,14 @@ class Download(Configs, Utilities):
|
|||
|
||||
start: float = time.time()
|
||||
for sbo in slackbuilds:
|
||||
file: str = f'{sbo}{self.sbo_tar_suffix}'
|
||||
location: str = SBoQueries(sbo).location()
|
||||
url: list = [f'{self.sbo_repo_url}{location}/{file}']
|
||||
|
||||
if self.ponce_repo:
|
||||
ponce_repo_path_package = Path(self.ponce_repo_path, location, sbo)
|
||||
shutil.copytree(ponce_repo_path_package, f'{download_path}{sbo}')
|
||||
else:
|
||||
file: str = f'{sbo}{self.sbo_tar_suffix}'
|
||||
url: list = [f'{self.sbo_repo_url}{location}/{file}']
|
||||
down_sbo = Downloader(download_path, url, self.flags)
|
||||
down_sbo.download()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue