summaryrefslogtreecommitdiffstats
path: root/restapi-call-node
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dt5972@att.com>2018-03-15 16:46:09 -0400
committerTimoney, Dan (dt5972) <dt5972@att.com>2018-03-15 16:46:09 -0400
commit4aeb20ec95c4f51c9bf5090ed1d9ef647882a85e (patch)
tree1d39343f07415560fce0d4aba24e9c6f9dbc19ce /restapi-call-node
parentad7ea1271a5eb1bb56b48a2fb1b35d8ddfed2d12 (diff)
Fix restapi-call-node install
Restapi-call-node zip includes some packages already installed in ODL distribution. Prevent it from overwriting them by unzipping with -n option. Change-Id: Ie3059465fab05a6d5bd64f93c139094a8a22828f Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Diffstat (limited to 'restapi-call-node')
-rw-r--r--restapi-call-node/installer/src/main/resources/scripts/install-feature.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/restapi-call-node/installer/src/main/resources/scripts/install-feature.sh b/restapi-call-node/installer/src/main/resources/scripts/install-feature.sh
index cee4a495..6e3d4169 100644
--- a/restapi-call-node/installer/src/main/resources/scripts/install-feature.sh
+++ b/restapi-call-node/installer/src/main/resources/scripts/install-feature.sh
@@ -29,7 +29,7 @@ REPOZIP=${INSTALLERDIR}/${features.boot}-${project.version}.zip
if [ -f ${REPOZIP} ]
then
- unzip -d ${ODL_HOME} ${REPOZIP}
+ unzip -nd ${ODL_HOME} ${REPOZIP}
else
echo "ERROR : repo zip ($REPOZIP) not found"
exit 1