diff options
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/http/web/index.html | 2 | ||||
-rw-r--r-- | deployment/zip/installer/install-latest.sh | 18 |
2 files changed, 5 insertions, 15 deletions
diff --git a/deployment/http/web/index.html b/deployment/http/web/index.html index 02198143..5a16ac2a 100644 --- a/deployment/http/web/index.html +++ b/deployment/http/web/index.html @@ -55,7 +55,7 @@ body { <ol> <li>To download, <a href="./oclip.zip">Click here !</a></li> <li>Un-zip into folder /opt/oclip</li> -<li>Run /opt/oclip/install.sh</li> +<li>Run 'source /opt/oclip/install.sh'</li> </ol> <p>For more details, either run <strong>oclip</strong> from Linux console or refer /opt/oclip/docs/README.md diff --git a/deployment/zip/installer/install-latest.sh b/deployment/zip/installer/install-latest.sh index 71488dae..19d0ce92 100644 --- a/deployment/zip/installer/install-latest.sh +++ b/deployment/zip/installer/install-latest.sh @@ -1,7 +1,7 @@ #!/bin/bash #******************************************************************************* -# Copyright 2017 Huawei Technologies Co., Ltd. +# Copyright 2017-18 Huawei Technologies Co., Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,10 +17,9 @@ #******************************************************************************* CLI_LATEST_BINARY="https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.cli&a=cli-zip&e=zip&v=LATEST" -CLI_INSTALL_DIR=/opt/onap/cli +CLI_INSTALL_DIR=/opt/oclip CLI_ZIP=cli.zip -CLI_BIN=/usr/bin/onap -export OPEN_CLI_HOME=$CLI_INSTALL_DIR +CLI_BIN=/usr/bin/oclip #create install dir if [ -d $CLI_INSTALL_DIR ] @@ -45,14 +44,5 @@ fi wget -O $CLI_ZIP $CLI_LATEST_BINARY unzip $CLI_ZIP -if [ ! -d ./data ]; then mkdir ./data; fi -if [ ! -d ./open-cli-schema ]; then mkdir ./open-cli-schema; fi -chmod +x ./bin/oclip.sh -#Make oclip available in path -ln ./bin/oclip.sh $CLI_BIN - -#Print the version -onap -v - -cd - +source ./install.sh |