summarylogtreecommitdiffstats
path: root/polybar.install
diff options
context:
space:
mode:
Diffstat (limited to 'polybar.install')
-rw-r--r--polybar.install3
1 files changed, 2 insertions, 1 deletions
diff --git a/polybar.install b/polybar.install
index e34534e885a4..3fa42106672d 100644
--- a/polybar.install
+++ b/polybar.install
@@ -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: