dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit d0f2387b90f13e45a79e3baea981603c1818d09b
parent ef6b1818a3f5da694053ff1abe61c9cb7d7129b8
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 25 Feb 2019 09:31:07 +0100

Also upgrade yay packages

Diffstat:
Mlinks/bin/uu | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/links/bin/uu b/links/bin/uu @@ -6,9 +6,13 @@ announce() { announce "Updating package manager lists and installed packages" if [ "$(uname)" = "Linux" ]; then - if [ "$(hostname)" = "idkfa" ]; then + if type pacman >/dev/null; then sudo pacman -Syu --color auto - else + fi + if type yay >/dev/null; then + yay -Syu --color auto + fi + if type apt-get >/dev/null; then sudo apt-get update && \ sudo apt-get -y upgrade && \ sudo apt-get -y dist-upgrade && \