From c0fa94a33ff9b643addc67e02eb589ec0d718c2d Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 2 Jan 2024 09:54:00 +0200 Subject: [PATCH] deb-update.bash: enable verbose flag for dnf The goal here is to reduce frustation especially on HDD --- bash/deb-update.bash | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index 995d48c..e1ced51 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -46,16 +46,16 @@ if hash dnf 2>/dev/null; then # I don't know if -y does anything here either and I think this may be # useless, but I am used to it coming from apt and I think it will just # say nothing to do or do nothing if mirrors haven't updated. - dnf check-update -y + dnf -v check-update -y # potentially unsafe first time, I am not sure if this is concern outside of Debian/Ubuntu though - dnf "$@" autoremove + dnf -v "$@" autoremove # If arguments like -y are passed to the script, they become "$@" - dnf "$@" upgrade + dnf -v "$@" upgrade # potentially unsafe, see a few lines above and the apt-get section - dnf "$@" autoremove + dnf -v "$@" autoremove fi if hash rpmconf 2>/dev/null; then