fix: correct version check in postinstall script

This commit is contained in:
Evgenii Alekseev 2023-09-08 14:48:31 +03:00
parent 59356e905a
commit 723b6971dd

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