mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Updated for download
This commit is contained in:
parent
235519f991
commit
d4b8277bb1
1 changed files with 5 additions and 5 deletions
|
@ -70,15 +70,15 @@ class DownloadOnly(Configs):
|
|||
package: str = self.data[name]['package']
|
||||
mirror: str = self.data[name]['mirror']
|
||||
location: str = self.data[name]['location']
|
||||
self.urls[f'{mirror}{location}/{package}'] = self.tmp_slpkg
|
||||
url: str = f'{mirror}{location}/{package}'
|
||||
self.urls[name] = ((url,), self.tmp_slpkg)
|
||||
|
||||
def save_slackbuild_sources(self, name: str) -> None:
|
||||
if self.os_arch == 'x86_64' and self.data[name]['download64']:
|
||||
sources: list = self.data[name]['download64'].split()
|
||||
sources: tuple = self.data[name]['download64'].split()
|
||||
else:
|
||||
sources: list = self.data[name]['download'].split()
|
||||
for source in sources:
|
||||
self.urls[source] = Path(self.build_path, name)
|
||||
sources: tuple = self.data[name]['download'].split()
|
||||
self.urls[name] = (sources, Path(self.build_path, name))
|
||||
|
||||
def copy_slackbuild_scripts(self, name: str) -> None:
|
||||
repo_path_package: Path = Path(self.sbo_repo[self.repository], self.data[name]['location'], name)
|
||||
|
|
Loading…
Reference in a new issue