netdata/packaging: [ci skip] well, when no match in place, its equal to zero. Fix it.
Pavlos Emm. Katsoulakis committed
Jul 16, 2019 at 13:25 UTC
51268e7abf64854fa0a9dfbdf7e350118e315281
1 file changed
+1
-1
.travis/package_management/common.py
+1
-1
@@ -91,7 +91,7 @@ def install_common_dependendencies(container):
91
run_command(container, [os.environ["REPO_TOOL"], "install", "-y", "json-c-devel"])
92
run_command(container, [os.environ["REPO_TOOL"], "update", "-y"])
93
94
- if os.environ["BUILD_STRING"].count("el/6") < 0:
94
+ if os.environ["BUILD_STRING"].count("el/6") <= 0:
95
run_command(container, [os.environ["REPO_TOOL"], "install", "-y", "autogen"])
96
97
run_command(container, [os.environ["REPO_TOOL"], "install", "-y", "sudo"])