update for ONOS 1.10.3 support
Change-Id: Icb9f906ff289f8d0595072a983e13513dc37cb4f
diff --git a/docker/config/app-install.sh b/docker/config/app-install.sh
index 4bb8808..ec39263 100644
--- a/docker/config/app-install.sh
+++ b/docker/config/app-install.sh
@@ -13,7 +13,7 @@
mkdir -p $APP_INSTALL_ROOT
cd $APP_INSTALL_ROOT
cp $oar $APP_INSTALL_ROOT
- jar -xf $APP_INSTALL_ROOT/$(basename $oar)
+ unzip -oq -d . $APP_INSTALL_ROOT/$(basename $oar)
name=$(grep "name=" $APP_INSTALL_ROOT/app.xml | sed 's/<app name="//g;s/".*//g')
mkdir -p $APPS_ROOT/$name
cp $APP_INSTALL_ROOT/app.xml $APPS_ROOT/$name/app.xml