From ade1c0ef24875e9b6696dadd271d778752f643b8 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 29 Apr 2022 18:13:47 +0200 Subject: [PATCH] try to avoid being fooled when detecting a no-sfa build --- system/TestPlc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/TestPlc.py b/system/TestPlc.py index c50b952..633fde2 100644 --- a/system/TestPlc.py +++ b/system/TestPlc.py @@ -245,7 +245,7 @@ class TestPlc: # warning, we're now building 'sface' so let's be a bit more picky # full builds are expected to return with 0 here utils.header("Checking if build provides SFA package...") - retcod = utils.system("curl --silent {}/ | grep -q sfa-".format(rpms_url)) == 0 + retcod = utils.system("curl --silent {}/ | grep -q sfa-4".format(rpms_url)) == 0 encoded = 'yes' if retcod else 'no' with open(has_sfa_cache_filename,'w') as cache: cache.write(encoded) -- 2.43.0