remove explict ROS uninstall
This commit is contained in:
parent
7e8b7d7bab
commit
b842d07726
|
@ -9,15 +9,11 @@ set -eo pipefail
|
||||||
#use existing server if same version
|
#use existing server if same version
|
||||||
if [ -f node_modules/realm-object-server/package.json ]; then
|
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
|
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-data
|
||||||
rm -rf realm-object-server
|
rm -rf realm-object-server
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
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
|
echo "Installing realm-object-server version: " $REALM_OBJECT_SERVER_VERSION
|
||||||
npm install realm-object-server@$REALM_OBJECT_SERVER_VERSION
|
npm install realm-object-server@$REALM_OBJECT_SERVER_VERSION
|
Loading…
Reference in New Issue