mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-23 03:02:53 +01:00
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.
This commit is contained in:
parent
ae98abde05
commit
2321006e01
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user