Bug 25078: Keep atomic updates in "atomicupdate" dir
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 2 Aug 2021 09:06:57 +0000 (11:06 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 16 Aug 2021 09:55:56 +0000 (11:55 +0200)
commitfd829dbdcb9f5ea39146c88cd976137876e9a411
treeab7193e9337c5b8275ff2eae8153282e59a6591b
parentcb4749a417ad77d1792f7dfbbff439aae88c1084
Bug 25078: Keep atomic updates in "atomicupdate" dir

The atomicupdate directory will contain all the atomic update files (old
and new version).
That will ease job for the RM and RMaints, no file (except skeletons)
must be in this directory before push.

This patch also fixes an inconsistency we had: the atomic update was run
before the other db revs on the UI but after when the CLI script was
used.

Now we make sure that the CLI does not deal with the atomic update files
when called from the installer (UI)

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Installer.pm
installer/data/mysql/updatedatabase.pl
installer/install.pl
koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt