mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-01 23: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 "$@"
|
# If arguments like -y are passed to the script, they become "$@"
|
||||||
dnf "$@" upgrade
|
dnf "$@" upgrade
|
||||||
|
|
||||||
|
# potentially unsafe
|
||||||
|
dnf "$@" autoremove
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if hash rpmconf 2>/dev/null; then
|
if hash rpmconf 2>/dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user