From 2321006e015bdbf3a39738b2e85cf273caa990f4 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sun, 24 Jan 2021 21:33:09 +0200 Subject: [PATCH] deb-update.bash: fix deprecated dnf alias The manual page says "dnf update" is deprecated alias, current alias would be "dnf up", but I guess in script using the actual command "upgrade" is the best option. --- bash/deb-update.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index a7bb674..2ac854e 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -21,7 +21,7 @@ fi if hash dnf 2>/dev/null; then # If arguments like -y are passed to the script, they become "$@" - dnf "$@" update + dnf "$@" upgrade fi if hash flatpak 2>/dev/null; then