mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 09:54:14 +02:00
[arch] fix -> Downloading some AUR packages sources twice when multi-threaded download is enabled
This commit is contained in:
@@ -1487,7 +1487,7 @@ class ArchManager(SoftwareManager):
|
||||
if len(fdata) > 1:
|
||||
args.update({'file_url': fdata[1], 'output_path': fdata[0]})
|
||||
else:
|
||||
args.update({'file_url': fdata[0], 'output_path': None})
|
||||
args.update({'file_url': fdata[0], 'output_path': fdata[0].split('/')[-1]})
|
||||
|
||||
if not self.context.file_downloader.download(**args):
|
||||
watcher.print('Could not download source file {}'.format(args['file_url']))
|
||||
|
||||
Reference in New Issue
Block a user