diff --git a/config.json b/config.json index 81c46fb1..4a8a23ff 100644 --- a/config.json +++ b/config.json @@ -1,13 +1,13 @@ { "name": "streamline-emr", "org": "streamline", - "version": "2.0", + "version": "2.1", "platforms": [ "linux/arm64" ], "images": { "linux/arm64": { - "registry.gitlab.com/signalytic/client-external/streamline/streamline-emr/arm64:v2": "streamline-emr:latest" + "registry.gitlab.com/signalytic/client-external/streamline/streamline-emr/arm64:v2.1": "streamline-emr:latest" } } } diff --git a/install.sh b/install.sh index c03da1a0..bc754000 100755 --- a/install.sh +++ b/install.sh @@ -36,9 +36,9 @@ if [ -f ${INSTALL_ROOT}/stop ]; then ${INSTALL_ROOT}/stop fi -# reset data for any v1 installations -if grep -q "^1." ${VERSION_FILE}; then - echo "v1 installation detected - resetting data" +# reset data for any v1 or v2.0 installations +if grep -q "^1." ${VERSION_FILE} || grep -q "^2.0" ${VERSION_FILE}; then + echo "demo installation detected (v$(cat ${VERSION_FILE})) - resetting data" rm -rf ${DATA_ROOT} fi