1 self
.description
= "Quick check for using XferCommand"
3 # this setting forces us to download packages
5 #wget doesn't support file:// urls. curl does
6 self
.option
['XferCommand'] = ['/usr/bin/curl %u > %o']
10 for i
in xrange(numpkgs
):
14 p
.files
= ["usr/bin/foo-%s" % i
]
15 self
.addpkg2db("sync", p
)
17 self
.args
= "-S %s" % ' '.join(pkgnames
)
20 self
.addrule("PKG_EXIST=%s" % name
)