deb-update.bash: add dnf autoremove

This commit is contained in:
Aminda Suomalainen 2021-02-28 15:55:17 +02:00
parent 5bd1219bb5
commit 1806a4a40a
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
1 changed files with 3 additions and 0 deletions

View File

@ -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