Skip to content
Snippets Groups Projects
Commit fd663e4a authored by juanf's avatar juanf
Browse files

SSDM-5688 : Bugfix on smarter script

SVN: 38788
parent e4507f37
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@
#-- Restore etc folder from backup (skip if backup don't exist)
echo "1 - Starting ELN-LIMS Upgrade"
# set -x
# Define a timestamp function
timestamp() {
date +"%y%m%d-%H%M"
......@@ -68,11 +68,11 @@ if [ -d $ELN_INSTALLATION ]; then
tar xfz $ELN_TARBALL -C $CORE_PLUGINS
#if is minimum master data, remove the extra types script
if [ IS_MINIMUM_MASTER_DATA ]; then
if [ -f $ELN_INSTALLATION_MINIMUM_MD_SCRIPT ]; then
echo "7 - Not modifying master data scripts since a standard master data installation was found"
else
echo "7 - Replacing master data script since minimum master data installation was found"
mv $ELN_INSTALLATION_MINIMUM_MD_SCRIPT $ELN_INSTALLATION_STANDARD_MD_SCRIPT
else
echo "7 - Not modifying master data scripts since a standard master data installation was found"
fi
#Restore config folder contents if they where backup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment