Compare commits

...

2 Commits

Author SHA1 Message Date
9e04a1acfd
update submodule gist 2024-01-02 09:55:10 +02:00
c0fa94a33f
deb-update.bash: enable verbose flag for dnf
The goal here is to reduce frustation especially on HDD
2024-01-02 09:54:00 +02:00
2 changed files with 5 additions and 5 deletions

View File

@ -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 # 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 # 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. # 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 # 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 "$@" # 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 # potentially unsafe, see a few lines above and the apt-get section
dnf "$@" autoremove dnf -v "$@" autoremove
fi fi
if hash rpmconf 2>/dev/null; then if hash rpmconf 2>/dev/null; then

@ -1 +1 @@
Subproject commit 2a31e4dfe430615dfc7f48b644f2ffbb34bf2be6 Subproject commit d1baa0ace79e01c3704addca20560a2d7e00d3a7