mirror of
https://github.com/polybar/polybar.git
synced 2024-11-25 13:55:47 -05:00
fix(aur): Use vercmp
This commit is contained in:
parent
73df20dc75
commit
084ff6d455
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue