dleidert / openmediavault-upgrade

Script to upgrade openmediavault from one major release into the next
GNU General Public License v3.0
48 stars 1 forks source link

Rename scripts before exiting so they are not re-run #28

Open dleidert opened 3 years ago

dleidert commented 3 years ago

If the upgrade process stops we usually want to continue at some special point. So for all the scripts which should run only once we should rename them to xx-task.done. So the user can continue if a task failed.

mi-hol commented 3 years ago

or instead of "rename" move them to folder named "completed-tasks" seems linked to #35