Skip to content
  • Anatol Pomozov's avatar
    Convert '-U pkg1 pkg2' codepath to parallel download · 16d98d65
    Anatol Pomozov authored and Allan McRae's avatar Allan McRae committed
    
    
    Installing remote packages using its URL is an interesting case for ALPM
    API. Unlike package sync ('pacman -S pkg1 pkg2') '-U' does not deal with
    server mirror list. Thus _alpm_multi_download() should be able to
    handle file download for payloads that either have 'fileurl' field
    or pair of fields ('servers' and 'filepath') set.
    
    Signature for alpm_fetch_pkgurl() has changed and it accepts an
    output list that is populated with filepaths to fetched packages.
    
    Signed-off-by: default avatarAnatol Pomozov <anatol.pomozov@gmail.com>
    16d98d65