mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[arch] fix -> Downloading some AUR packages sources twice when multi-threaded download is enabled
This commit is contained in:
@@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
### Fixes
|
||||
- Arch
|
||||
- not able to upgrade a package that explicitly defines a conflict with itself (e.g: grub)
|
||||
- Downloading some AUR packages sources twice when multi-threaded download is enabled
|
||||
- UI
|
||||
- crashing when nothing can be upgraded
|
||||
|
||||
|
||||
@@ -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