From 1806a4a40a714d143dcaab4cb3bdd38231ed05fc Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sun, 28 Feb 2021 15:55:17 +0200 Subject: [PATCH] deb-update.bash: add dnf autoremove --- bash/deb-update.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index 19ed9cb..a6db3af 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -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