From 443299c9068e9c3bc1be50352f12b89f47360cbf Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 20 Sep 2024 12:16:16 +0300 Subject: [PATCH] deb-update.bash: remove -v from dnf for dnf5 compatibility --- bash/deb-update.bash | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index 372b4f4..48a22ae 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -44,20 +44,20 @@ 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 -v check-update -y + dnf check-update -y # potentially unsafe first time, I am not sure if this is concern outside of Debian/Ubuntu though - dnf -v "$@" autoremove + dnf "$@" autoremove # If arguments like -y are passed to the script, they become "$@" - #dnf -v "$@" upgrade + #dnf "$@" upgrade # Doing check-update and upgrade together seems to be necessary for # Chromium based browsers and their repositories :shrug: - dnf -v "$@" upgrade --refresh + dnf "$@" upgrade --refresh # potentially unsafe, see a few lines above and the apt-get section - dnf -v "$@" autoremove + dnf "$@" autoremove fi # Arch Linux package management