Update PF for SNI checking support 60/133660/1
authorliamfallon <liam.fallon@est.tech>
Tue, 14 Mar 2023 17:15:14 +0000 (17:15 +0000)
committerliamfallon <liam.fallon@est.tech>
Tue, 14 Mar 2023 17:15:27 +0000 (17:15 +0000)
Fix the script to allow CSITs to run on MacOS

Issue-ID: POLICY-4474
Change-Id: If11ad6ba4f4b4bc52543d46d12ce5b40d3cc26be
Signed-off-by: liamfallon <liam.fallon@est.tech>
csit/resources/scripts/prepare-robot-env.sh

index fe8dbd9..061da84 100755 (executable)
@@ -51,4 +51,7 @@ python3 -m pip install -U -qq docker
 
 python3 -m pip -qq freeze
 
-sudo apt-get -y -qq install libxml2-utils
+if (uname | grep -q 'Linux')
+then
+    sudo apt-get -y -qq install libxml2-utils
+fi