summaryrefslogtreecommitdiffstats
path: root/csit/resources
diff options
context:
space:
mode:
Diffstat (limited to 'csit/resources')
-rwxr-xr-xcsit/resources/scripts/prepare-robot-env.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/csit/resources/scripts/prepare-robot-env.sh b/csit/resources/scripts/prepare-robot-env.sh
index fe8dbd94..061da844 100755
--- a/csit/resources/scripts/prepare-robot-env.sh
+++ b/csit/resources/scripts/prepare-robot-env.sh
@@ -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