From 26a69197143982e138f5cd6148a954a20a94673e Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Fri, 12 Nov 2021 22:59:48 +0200 Subject: [PATCH] build: replace yum with dnf dnf has replaced yum on Fedora and CentOS. On modern versions of Fedora, you have to install an extra package to get the old name working, so avoid that inconvenience and use dnf directly. Closes #181 --- install-dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-dependencies.sh b/install-dependencies.sh index 48bdd5c..2e5e3a4 100755 --- a/install-dependencies.sh +++ b/install-dependencies.sh @@ -22,5 +22,5 @@ if [ "$ID" = "ubuntu" ] || [ "$ID" = "debian" ]; then apt -y install maven openjdk-8-jdk-headless elif [ "$ID" = "fedora" ] || [ "$ID" = "centos" ]; then - yum install -y maven java-1.8.0-openjdk-devel + dnf install -y maven java-1.8.0-openjdk-devel fi