1
0
Fork 0
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:
Michael Carlberg 2017-01-14 20:44:41 +01:00
parent 73df20dc75
commit 084ff6d455

View file

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