I really like that you can update OttoFMS with just command line instruction. So far, it worked every time for me.
I have a request for a small change in that script. If a post-update.sh script is present in a specific location, execute it. Of course I can make a shell script that calls the OttoFMS update mechanism, but I think the design is better, because that would only call the post-update shell script if the OttoFMS update is successful.
The reason why I would like it, is because e.g. on Ubuntu the folder /opt/FileMaker/FileMaker Server/Data/Backups/OttoFMS/file-manager-root contains a link to the Backups folder that I want to delete after each OttoFMS update. It’s easy to guess why: I like the links, but not the circular one, my offsite backup system does not like it very much.
If the file is not present, everything works like now, if it is, this is an elegant way to extend the update mechanism with personalised code.
Would this be an easy one to implement, or does anyone have alternatives?