summarylogtreecommitdiffstats
path: root/polybar.install
diff options
context:
space:
mode:
authorMichael Carlberg2017-01-14 20:45:23 +0100
committerMichael Carlberg2017-01-14 20:45:23 +0100
commitd65b627418afc3e8e5eac02f8f38858c5b7194ea (patch)
treee2374befff4cbdc6d7910729e649362b8e29ae46 /polybar.install
parentb365424a135c46b4c999b34edcad4fab09f35f7f (diff)
downloadaur-d65b627418afc3e8e5eac02f8f38858c5b7194ea.tar.gz
revbump
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: