aboutsummaryrefslogtreecommitdiffstats
path: root/dblib/installer/src/main/resources/scripts/install-feature.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dblib/installer/src/main/resources/scripts/install-feature.sh')
-rw-r--r--dblib/installer/src/main/resources/scripts/install-feature.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/dblib/installer/src/main/resources/scripts/install-feature.sh b/dblib/installer/src/main/resources/scripts/install-feature.sh
deleted file mode 100644
index 16b5be8..0000000
--- a/dblib/installer/src/main/resources/scripts/install-feature.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-ODL_HOME=${ODL_HOME:-/opt/opendaylight/current}
-ODL_KARAF_CLIENT=${ODL_KARAF_CLIENT:-${ODL_HOME}/bin/client}
-ODL_KARAF_CLIENT_OPTS=${ODL_KARAF_CLIENT_OPTS:-"-u karaf"}
-INSTALLERDIR=$(dirname $0)
-
-REPOZIP=${INSTALLERDIR}/${features.boot}-${project.version}.zip
-
-if [ -f ${REPOZIP} ]
-then
- unzip -d ${ODL_HOME} ${REPOZIP}
-else
- echo "ERROR : repo zip ($REPOZIP) not found"
- exit 1
-fi
-
-${ODL_KARAF_CLIENT} ${ODL_KARAF_CLIENT_OPTS} feature:repo-add ${features.repositories}
-${ODL_KARAF_CLIENT} ${ODL_KARAF_CLIENT_OPTS} feature:install ${features.boot}