mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Bugfixed: download only path
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
b08481328d
commit
6cbed7c3c5
1 changed files with 4 additions and 1 deletions
|
@ -109,7 +109,10 @@ class Slackbuilds:
|
|||
location = SBoQueries(sbo).location()
|
||||
url = f'{self.sbo_url}/{location}/{file}'
|
||||
|
||||
wget.download(self.tmp_slpkg, url)
|
||||
if '--download-only' in self.flags:
|
||||
wget.download(self.download_only, url)
|
||||
else:
|
||||
wget.download(self.tmp_slpkg, url)
|
||||
|
||||
if '--download-only' not in self.flags:
|
||||
self.utils.untar_archive(self.tmp_slpkg, file, self.build_path)
|
||||
|
|
Loading…
Reference in a new issue