From bdeb8187183e2b9b79e7bb16121be000ef73792e Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Sat, 14 Jan 2017 18:00:22 +0100 Subject: [PATCH] aur: Add change notice about token update --- contrib/polybar.aur/polybar.install | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/contrib/polybar.aur/polybar.install b/contrib/polybar.aur/polybar.install index 03368ec9..c46ee3c7 100644 --- a/contrib/polybar.aur/polybar.install +++ b/contrib/polybar.aur/polybar.install @@ -10,3 +10,16 @@ post_install() { EOF } + +post_upgrade() { + (( ${2//./} <= 251 )) && cat << EOF + + The % suffix has been removed from percentage tokens. + The suffix is instead added by the user, for example: + + format-charging = Capacity %percentage%% + + -- jaagr + +EOF +}