From 426b78f4e8a8e88454aaeb57c3ee0c693cfa19a5 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Wed, 1 Apr 2020 10:27:02 +0200 Subject: [PATCH] Update package database before displaying updates --- dotfiles/polybar.org | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/polybar.org b/dotfiles/polybar.org index a380167..30303d5 100644 --- a/dotfiles/polybar.org +++ b/dotfiles/polybar.org @@ -493,6 +493,7 @@ :header-args+: :shebang "#!/usr/bin/env bash" :END: #+BEGIN_SRC bash + yay -Sy && \ package_nb=`yay -Qu 2> /dev/null | wc -l`; if [ "$package_nb" -eq "0" ]; then