mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-21 05:47:20 +02:00
Compare commits
No commits in common. "9e04a1acfd2655fb7e5b6d94a9c7887c2c4b330d" and "f13784d9a9ac00a81407a94bb60f54342aeca862" have entirely different histories.
9e04a1acfd
...
f13784d9a9
@ -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 -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
|
||||
|
||||
# potentially unsafe, see a few lines above and the apt-get section
|
||||
dnf -v "$@" autoremove
|
||||
dnf "$@" autoremove
|
||||
fi
|
||||
|
||||
if hash rpmconf 2>/dev/null; then
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit d1baa0ace79e01c3704addca20560a2d7e00d3a7
|
||||
Subproject commit 2a31e4dfe430615dfc7f48b644f2ffbb34bf2be6
|
Loading…
x
Reference in New Issue
Block a user