mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-06-30 23:55:49 +00:00
fix: correct version check in postinstall script
This commit is contained in:
@ -5,7 +5,7 @@ post_upgrade() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
for v in "${breakpoints[@]}"; do
|
for v in "${breakpoints[@]}"; do
|
||||||
if [[ $(vercmp "$v" "$2") -eq 1 ]]; then
|
if [[ $(vercmp "$v" "$2") -ne "-1" ]]; then
|
||||||
"_${v//[.-]/_}_changes"
|
"_${v//[.-]/_}_changes"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user