fix: correct version check in postinstall script

This commit is contained in:
Evgenii Alekseev 2023-09-08 14:48:31 +03:00
parent efde0b2e86
commit 03c183d66c

View File

@ -5,7 +5,7 @@ post_upgrade() {
)
for v in "${breakpoints[@]}"; do
if [[ $(vercmp "$v" "$2") -eq 1 ]]; then
if [[ $(vercmp "$v" "$2") -ne "-1" ]]; then
"_${v//[.-]/_}_changes"
fi
done