From cd67ed9bb52397710a0d3196a27f4ef62bfe86e6 Mon Sep 17 00:00:00 2001
From: buczekp <buczekp>
Date: Mon, 7 Mar 2011 14:53:35 +0000
Subject: [PATCH] minor: copy openbis log.xml in post installation script

SVN: 20231
---
 openbis_all/source/bash/sprint_post_install.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/openbis_all/source/bash/sprint_post_install.sh b/openbis_all/source/bash/sprint_post_install.sh
index 2fb60bf6e24..099e21ed79f 100755
--- a/openbis_all/source/bash/sprint_post_install.sh
+++ b/openbis_all/source/bash/sprint_post_install.sh
@@ -44,6 +44,9 @@ function restore_config_files {
   if  [ -f ~openbis/config/openbis-as-jetty.xml ]; then
   	cp ~openbis/config/openbis-as-jetty.xml ~openbis/sprint/openBIS-server/jetty/etc/jetty.xml
   fi
+  if  [ -f ~openbis/config/openbis_log.xml ]; then
+  	cp ~openbis/config/openbis_log.xml ~openbis/sprint/openBIS-server/jetty/etc/log.xml
+  fi
   if  [ -f ~openbis/config/datastore_log.xml ]; then
   	cp ~openbis/config/datastore_log.xml ~openbis/sprint/datastore_server/etc/log.xml
   fi  
@@ -141,7 +144,7 @@ case "$SERVER" in
 	echo PLASMIDS:$PLASMIDS;
 	restore_config_files
 	create_individual_greeting_message
-    	$BIN/sprint_post_install_plasmids.sh
+  $BIN/sprint_post_install_plasmids.sh
 	;;
 	$LIMB)
 	echo LIMB:$LIMB;
-- 
GitLab