diff options
author | Michal Ptacek <m.ptacek@partner.samsung.com> | 2019-01-27 12:13:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-27 12:13:31 +0000 |
commit | 2f1f94848beb2af4bb355872986cde78f40e177e (patch) | |
tree | d4e2bfefed8cc1f2d4a0e598c6491210b785dbc2 | |
parent | 14f53333e9202a767b3a3d171f5e8d2b4f6dacd0 (diff) | |
parent | d20485305999333b5a2867a8f142b5b211040df5 (diff) |
Merge "Fixed dependent jq package installation"
-rwxr-xr-x | build_nexus_blob.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/build_nexus_blob.sh b/build_nexus_blob.sh index aa977793..e57658c2 100755 --- a/build_nexus_blob.sh +++ b/build_nexus_blob.sh @@ -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 |