fix(aur): Strip all non-digits when comparing versions
This commit is contained in:
parent
a964e3bc7d
commit
73df20dc75
@ -12,7 +12,7 @@ EOF
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
(( ${2//./} <= 251 )) && cat << EOF
|
||||
(( ${2//[^0-9]/} <= 2511 )) && 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