Skip to content

Commit 5c8638d

Browse files
committed
feat: enable Fedora 41 and Fedora 42 support
1 parent d1b57b1 commit 5c8638d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/install-elastio.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ cent_fedora_install()
8686
done
8787

8888
rpm --import https://$repo_host/GPG-KEY-elastio
89-
yum localinstall -y $repo_package_url
89+
yum install -y $repo_package_url
9090
which dnf >/dev/null 2>&1 &&
9191
cent8_fedora_install $1 $2 $3 ||
9292
cent7_amazon_install $1 $2 $3
@@ -331,7 +331,7 @@ case ${dist_name} in
331331

332332
fedora | fc )
333333
case ${dist_ver}-$(uname -m) in
334-
39-* | 40-* ) cent_fedora_install Fedora $(rpm -E %fedora) fc ;;
334+
40-* | 41-* | 42-* ) cent_fedora_install Fedora $(rpm -E %fedora) fc ;;
335335
* )
336336
echo "Only Fedora versions 39 and 40 are supported. Current distro version $dist_ver isn't supported."
337337
exit 1

0 commit comments

Comments
 (0)