From ce8f91a71b2e5d50fe60baadc0269e6823e8056f Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 12 Aug 2011 16:45:04 -0400 Subject: pactest/sync200: check for curl instead of fetch We can't just check for LIBS as curl won't be listed. Instead, look at the length of the LIBCURL var from the Makefile. Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- test/pacman/tests/sync200.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pacman/tests/sync200.py.in') diff --git a/test/pacman/tests/sync200.py.in b/test/pacman/tests/sync200.py.in index c83e9ac7..6e47112d 100644 --- a/test/pacman/tests/sync200.py.in +++ b/test/pacman/tests/sync200.py.in @@ -1,6 +1,6 @@ self.description = "Synchronize the local database" -if not "fetch" in "@LIBS@": +if len("@LIBCURL@") == 0: self.option['XferCommand'] = ['/usr/bin/curl %u > %o'] sp1 = pmpkg("spkg1", "1.0-1") -- cgit v1.2.3