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 cbc2ecf282ea445aa20bf30b4a06e8772457fe14
parent 4e132be1ea15e071d5c02d2982e7bc162e96307e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 25 Jul 2019 22:32:27 +0200

Tweak some upgrade commands

Diffstat:
M.local/bin/uu | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.local/bin/uu b/.local/bin/uu @@ -7,7 +7,7 @@ announce() { announce "Updating package manager lists and installed packages" if [ "$(uname)" = "Linux" ]; then if type pacman >/dev/null; then - sudo pacman -Syu --color auto + sudo pacman -Syu echo "Removing unneeded packages" unused=$(pacman -Qdtq) if [[ $(echo "$unused" | wc -l) -gt 1 ]]; then @@ -18,13 +18,13 @@ if [ "$(uname)" = "Linux" ]; then if [[ $REPLY =~ ^[Yy]$ ]]; then sudo pacman -Rns $(echo $unused | tr '\n' ' ') --noconfirm fi - fi + fi echo "Removing old packages" - sudo pacman -Sc --color auto --noconfirm + sudo pacman -Sc --noconfirm fi if type yay >/dev/null; then - yay -Syu --color auto + yay -Syu --color auto --noconfirm fi if type apt-get >/dev/null; then sudo apt-get update && \