fix(IS_EVOBACKUP_EXCLUDE_MOUNT): correctly treat old versions of evobackup #154

Merged
dprevot merged 1 commit from mtrossevin/evocheck:fix-old-evobackup into master 2024-01-03 15:21:33 +01:00

1 commit

Author SHA1 Message Date
Mathieu Trossevin fba4dc75c3 fix(IS_EVOBACKUP_EXCLUDE_MOUNT): correctly treat old versions of evobackup
This commit fix #150

Prior to this older versions of evobackup without `VERSION=` in them
would be treated as not having any exclude whatsoever as the `else`
block was only inside of the `if grep -q  "^VERSION="
"${evobackup_file}"` block.

Now the treatment of old evobackup scripts is done if there isn't a
`VERSION=` in the script or if the version is older than 22.12.
2024-01-03 15:13:23 +01:00