Jian Li
Committed by Gerrit Code Review

Try to remove stale localDB when commanding onos-setup-karaf clean

Change-Id: Ia8ec887d8236b87611c7ca1953e865780789a88d
......@@ -46,8 +46,8 @@ fi
# If clean option was specified, wipe-out existing installation
if [ "$CLEAN" = "true" ]; then
echo "Removing existing ONOS Karaf, apps, and config directories..."
[ -d $KARAF_ROOT ] && rm -fr $KARAF_ROOT $STAGE/apps $STAGE/config
echo "Removing existing ONOS Karaf, apps, data and config directories..."
[ -d $KARAF_ROOT ] && rm -fr $KARAF_ROOT $STAGE/apps $STAGE/data $STAGE/config
fi
# If IP was not given, nor configured attempt to use ONOS_NIC env. variable
......