remove explict ROS uninstall

This commit is contained in:
blagoev 2017-12-05 14:46:41 +02:00
parent 7e8b7d7bab
commit b842d07726
1 changed files with 0 additions and 4 deletions

View File

@ -9,15 +9,11 @@ set -eo pipefail
#use existing server if same version
if [ -f node_modules/realm-object-server/package.json ]; then
if grep -q "\"version\": \"$REALM_OBJECT_SERVER_VERSION\"" node_modules/realm-object-server/package.json; then
# echo -e "yes\n" | object-server-for-testing/reset-server-realms.command
rm -rf realm-object-server-data
rm -rf realm-object-server
exit
fi
fi
echo "Uninstalling old version of realm-object-server"
npm uninstall realm-object-server
echo "Installing realm-object-server version: " $REALM_OBJECT_SERVER_VERSION
npm install realm-object-server@$REALM_OBJECT_SERVER_VERSION