mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-10 04:55:48 +01:00
- fixed download from apiurl
This commit is contained in:
parent
f59372c96e
commit
a8d8565442
@ -561,7 +561,7 @@ def main(opts, argv):
|
|||||||
# OBS 1.5 and before has no downloadurl defined in buildinfo
|
# OBS 1.5 and before has no downloadurl defined in buildinfo
|
||||||
if bi.downloadurl:
|
if bi.downloadurl:
|
||||||
urllist.append(bi.downloadurl + '/%(extproject)s/%(extrepository)s/%(arch)s/%(filename)s')
|
urllist.append(bi.downloadurl + '/%(extproject)s/%(extrepository)s/%(arch)s/%(filename)s')
|
||||||
elif not opts.cpio_bulk_download:
|
if not opts.cpio_bulk_download:
|
||||||
urllist.append( '%(apiurl)s/build/%(project)s/%(repository)s/%(repoarch)s/%(repopackage)s/%(repofilename)s' )
|
urllist.append( '%(apiurl)s/build/%(project)s/%(repository)s/%(repoarch)s/%(repopackage)s/%(repofilename)s' )
|
||||||
|
|
||||||
fetcher = Fetcher(cachedir = config['packagecachedir'],
|
fetcher = Fetcher(cachedir = config['packagecachedir'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user