1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00

fix(aur): Strip all non-digits when comparing versions

This commit is contained in:
Michael Carlberg 2017-01-14 19:57:02 +01:00
parent a964e3bc7d
commit 73df20dc75

View file

@ -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: