Fixed dependent jq package installation 78/75878/1
authorTomáš Levora <t.levora@partner.samsung.com>
Wed, 16 Jan 2019 15:14:43 +0000 (16:14 +0100)
committerTomáš Levora <t.levora@partner.samsung.com>
Wed, 16 Jan 2019 15:16:13 +0000 (16:16 +0100)
Fixed installation of proper jq package

Issue-ID: OOM-1585

Change-Id: I4c196b08500b5275569da2951a728b05b3bf8757
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
build_nexus_blob.sh

index aa97779..e57658c 100755 (executable)
@@ -139,13 +139,11 @@ fi
 
 # Check the dependencies in the beginning
 
-# Install Node.js
-if yum list installed "nodejs" >/dev/null 2>&1; then
-    echo "Node.js is already installed"
+# Install jq
+if yum list installed "jq" >/dev/null 2>&1; then
+    echo "jq is already installed"
 else
-    yum install -y --setopt=skip_missing_names_on_install=False epel-release
-    curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
-    yum install -y --setopt=skip_missing_names_on_install=False nodejs
+    yum install -y --setopt=skip_missing_names_on_install=False http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/j/jq-1.5-1.el7.x86_64.rpm
 fi
 
 # Install curl if necessary