mirror of
https://github.com/polybar/polybar.git
synced 2025-02-17 15:55:20 -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() {
|
post_upgrade() {
|
||||||
(( ${2//./} <= 251 )) && cat << EOF
|
(( ${2//[^0-9]/} <= 2511 )) && cat << EOF
|
||||||
|
|
||||||
The % suffix has been removed from percentage tokens.
|
The % suffix has been removed from percentage tokens.
|
||||||
The suffix is instead added by the user, for example:
|
The suffix is instead added by the user, for example:
|
||||||
|
|
Loading…
Add table
Reference in a new issue