fix(aur): Use vercmp
This commit is contained in:
parent
73df20dc75
commit
084ff6d455
@ -12,7 +12,8 @@ EOF
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
(( ${2//[^0-9]/} <= 2511 )) && cat << EOF
|
||||
[ "$(vercmp "$2" "2.5.1-1")" = "-1" ] || exit 0
|
||||
cat << EOF
|
||||
|
||||
The % suffix has been removed from percentage tokens.
|
||||
The suffix is instead added by the user, for example:
|
||||
|
Loading…
Reference in New Issue
Block a user