From cf85616b982d9c0de503cf5902bbcfddb618ca31 Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Tue, 24 Aug 2010 09:22:31 +0000
Subject: [PATCH] LMS-1709 test instance: scripts

SVN: 17592
---
 screening/dist/admin/reset-display-settings.sh | 2 +-
 screening/dist/admin/upgrade.sh                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/screening/dist/admin/reset-display-settings.sh b/screening/dist/admin/reset-display-settings.sh
index 80db7a9dd44..d767e7a62d7 100755
--- a/screening/dist/admin/reset-display-settings.sh
+++ b/screening/dist/admin/reset-display-settings.sh
@@ -3,7 +3,7 @@
 # Overrides all user display settings with the settings of the template user.
 
 echo Remove 'exit' after configuring existing user name, currently it is $TEMPLATE_USER
-exit
+exit 1
 TEMPLATE_USER=openbis-user-name
 
 BASE=`dirname "$0"`
diff --git a/screening/dist/admin/upgrade.sh b/screening/dist/admin/upgrade.sh
index 2f7a551dff2..d2cf720e639 100755
--- a/screening/dist/admin/upgrade.sh
+++ b/screening/dist/admin/upgrade.sh
@@ -29,7 +29,7 @@ pg_dump -U $DB_USER_NAME -Fc $OPENBIS_DB > $BACKUP_DIR/$OPENBIS_DB-${NOW}.dmp
 pg_dump -U $DB_USER_NAME -Fc $IMAGING_DB > $BACKUP_DIR/$IMAGING_DB-${NOW}.dmp
 
 echo Installing openBIS Datastore Server
-unzip $ROOT_DIR/datastore*.zip
+unzip $ROOT_DIR/datastore*.zip -d $ROOT_DIR
 
 echo Installing openBIS Application Server
 unzip $ROOT_DIR/openBIS-*.zip -d $ROOT_DIR
-- 
GitLab