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:
parent
a964e3bc7d
commit
73df20dc75
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue