From a8f821b63d74df5af3d0416f46892f3214e1f68b Mon Sep 17 00:00:00 2001
From: kohleman <kohleman>
Date: Mon, 5 Sep 2011 12:22:36 +0000
Subject: [PATCH] making the stacked authentication change permanent in all
 openBIS instances

SVN: 22792
---
 openbis_all/source/bash/sprint_post_install.sh        | 3 +++
 openbis_all/source/bash/sprint_post_install_yeastx.sh | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/openbis_all/source/bash/sprint_post_install.sh b/openbis_all/source/bash/sprint_post_install.sh
index fbd3ed1bf13..44a5bbea15c 100755
--- a/openbis_all/source/bash/sprint_post_install.sh
+++ b/openbis_all/source/bash/sprint_post_install.sh
@@ -62,6 +62,9 @@ function restore_config_files {
   if  [ -f ~openbis/config/datastore_server.conf ]; then
   	cp ~openbis/config/datastore_server.conf ~openbis/sprint/datastore_server/etc/
   fi  
+  if  [ -f ~openbis/config/genericCommonContext.xml ]; then
+    cp ~openbis/config/genericCommonContext.xml ~openbis/sprint/openBIS-server/jetty/webapps/openbis/WEB-INF/classes
+  fi
 }
 
 function add_yeastx_plugin {
diff --git a/openbis_all/source/bash/sprint_post_install_yeastx.sh b/openbis_all/source/bash/sprint_post_install_yeastx.sh
index c72079f5dda..87437a0b33e 100755
--- a/openbis_all/source/bash/sprint_post_install_yeastx.sh
+++ b/openbis_all/source/bash/sprint_post_install_yeastx.sh
@@ -20,4 +20,3 @@ function copy_or_die {
 
 copy_or_die $CONFIG_DIR/eicmlDropboxProcessingPlugin.properties $DSS/etc/
 copy_or_die $CONFIG_DIR/fiamlDropboxProcessingPlugin.properties $DSS/etc/
-copy_or_die ~/config/openbis-as/genericCommonContext.xml ~/sprint/openBIS-server/jetty/webapps/openbis/WEB-INF/classes
-- 
GitLab