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 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue