mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-26 04:59:38 +01:00
deb-update.bash: add dnf autoremove
This commit is contained in:
parent
5bd1219bb5
commit
1806a4a40a
@ -27,6 +27,9 @@ if hash dnf 2>/dev/null; then
|
||||
|
||||
# If arguments like -y are passed to the script, they become "$@"
|
||||
dnf "$@" upgrade
|
||||
|
||||
# potentially unsafe
|
||||
dnf "$@" autoremove
|
||||
fi
|
||||
|
||||
if hash rpmconf 2>/dev/null; then
|
||||
|
Loading…
Reference in New Issue
Block a user