...
In order to manage the state of VIVO home directory a digest.md5 file has been introduced. It will afford maintaining customizations through restarts and upgrades. The implementation can be found in VitroHomeDirectory.java.
On first startup
- packed vivo VIVO home tar file is untarred into vivo home
- if file already exists it will be overwritten*
- digest.md5 file is created of a checksum per tar entry
...
- digest.md5 is read in to determine if any files have changed
- packed vivo VIVO home tar file is untarred
- if file already exists and matches digest checksum and does not match tar entry checksum, file is overwritten
- digest.md5 file is created of a checksum per tar entry
...