commit b7a6b0777729b44376eeb3c7809b39804f2b6418
parent 8f813dfdd12cada53c6ec4bf467fc40099812721
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 7 Mar 2019 15:51:18 +0100
Improve formatting during update
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/links/bin/uu b/links/bin/uu
@@ -8,9 +8,10 @@ announce "Updating package manager lists and installed packages"
if [ "$(uname)" = "Linux" ]; then
if type pacman >/dev/null; then
sudo pacman -Syu --color auto
- announce "Unneeded packages:"
+ echo "Removing unneeded packages"
pacman -Qdt --color auto
- echo
+ echo "Removing old packages"
+ sudo pacman -Sc --color auto
fi
if type yay >/dev/null; then
yay -Syu --color auto