Skip to content

Commit d045abe

Browse files
authored
Replace DNF's deprecated 'dnf update' alias with 'dnf upgrade' (#1300)
Addresses #1298. According to the [DNF manpages](https://man7.org/linux/man-pages/man8/dnf.8.html), `update` is a deprecated alias.
2 parents 4374807 + 05f8e0d commit d045abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linux/Packaging.Linux/install-from-source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ case "$distribution" in
163163
fi
164164
;;
165165
fedora | centos | rhel)
166-
$sudo_cmd dnf update -y
166+
$sudo_cmd dnf upgrade -y
167167

168168
# Install dotnet/GCM dependencies.
169169
install_packages dnf install "curl git krb5-libs libicu openssl-libs zlib findutils which bash"

0 commit comments

Comments
 (0)