diff --git a/slpkg/download_only.py b/slpkg/download_only.py index 2c1b834f..e78daef9 100644 --- a/slpkg/download_only.py +++ b/slpkg/download_only.py @@ -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()