diff --git a/installation/resource/installer/bin/backup-installation.sh b/installation/resource/installer/bin/backup-installation.sh index e3c103293e74ae42103b4260741205f4802dcc7d..9441d8aeab83c43662a6489dfce1150a7cafcc70 100755 --- a/installation/resource/installer/bin/backup-installation.sh +++ b/installation/resource/installer/bin/backup-installation.sh @@ -56,9 +56,9 @@ if [ -d $ROOT_DIR/beewm ]; then mv $ROOT_DIR/beewm/bee-workflowmanager/etc $BACKUP_DIR/beewm fi -if [ -d $ROOT_DIR/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc ]; then - echo "mv $ROOT_DIR/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc $BACKUP_DIR/eln-lims" - mv $ROOT_DIR/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc $BACKUP_DIR/eln-lims +if [ -d $ROOT_DIR/core-plugins/eln-lims ]; then + echo "mv $ROOT_DIR/core-plugins/eln-lims $BACKUP_DIR/eln-lims" + mv $ROOT_DIR/core-plugins/eln-lims $BACKUP_DIR/eln-lims 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 cf95f087b35e35ed98d94e93ef3e7892e2d51177..ec524996a890f0f1406004736d574e9082db0e5a 100755 --- a/installation/resource/installer/bin/restore-config-from-backup.sh +++ b/installation/resource/installer/bin/restore-config-from-backup.sh @@ -66,7 +66,7 @@ fi # -- ELN-LIMS if [ -d $ROOT/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc ]; then - if [ -d $CONF/../eln-lims ]; then - cp $CONF/../eln-lims/* $ROOT/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc/ + 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