mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
Allow sync200 pactest to pass without libdownload.
This was a stupid and unimportant regression caused by commit
4476598e4e
.
When libdownload is not available, a xfercommand is needed for this pactest
to run properly.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
ec928faad3
commit
14203d77f4
@ -1,5 +1,8 @@
|
||||
self.description = "Synchronize the local database"
|
||||
|
||||
if not "download" in "@LIBS@":
|
||||
self.option['XferCommand'] = ['/usr/bin/curl %u > %o']
|
||||
|
||||
sp1 = pmpkg("spkg1", "1.0-1")
|
||||
sp1.depends = ["spkg2"]
|
||||
sp2 = pmpkg("spkg2", "2.0-1")
|
Loading…
Reference in New Issue
Block a user