diff --git a/installation/resource/installer/bin/backup-installation.sh b/installation/resource/installer/bin/backup-installation.sh index f65699e1fe0b9eb197c8836bacc2c3b9943866f9..047c004be80860625a4df7517e927570f61ad3ff 100755 --- a/installation/resource/installer/bin/backup-installation.sh +++ b/installation/resource/installer/bin/backup-installation.sh @@ -56,11 +56,4 @@ if [ -d $BACKUP_DIR/datastore_server/data/sessionWorkspace ]; then rm -r $BACKUP_DIR/datastore_server/data/sessionWorkspace fi -if [ -d $ROOT_DIR/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc ]; then - echo "mkdir -p $BACKUP_DIR/eln-lims/1/as/webapps/eln-lims/html" - mkdir -p $BACKUP_DIR/eln-lims/1/as/webapps/eln-lims/html - echo "$ROOT_DIR/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc $BACKUP_DIR/eln-lims/1/as/webapps/eln-lims/html" - mv $ROOT_DIR/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc $BACKUP_DIR/eln-lims/1/as/webapps/eln-lims/html -fi - echo "DONE" diff --git a/installation/resource/installer/bin/restore-config-from-backup.sh b/installation/resource/installer/bin/restore-config-from-backup.sh index 860f04392df5648d575231fb96864907767685ac..1218756c271ff2c5ab8b7dc36845fd3fb0c949a5 100755 --- a/installation/resource/installer/bin/restore-config-from-backup.sh +++ b/installation/resource/installer/bin/restore-config-from-backup.sh @@ -57,11 +57,4 @@ cp $CONF/dss-log.xml $ROOT/datastore_server/etc/log.xml cp $CONF/datastore_server.conf $ROOT/datastore_server/etc/ # not always present copyIfExists $CONF/.keystore $ROOT/datastore_server/etc/openBIS.keystore -copyIfExists $CONF/ext-lib $ROOT/datastore_server - -# -- ELN-LIMS -if [ -d $ROOT/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc ]; then - if [ -d $CONF/../eln-lims/1/as/webapps/eln-lims/html/etc ]; then - cp $CONF/../eln-lims/1/as/webapps/eln-lims/html/etc/* $ROOT/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc/ - fi -fi \ No newline at end of file +copyIfExists $CONF/ext-lib $ROOT/datastore_server \ No newline at end of file