Skip to content

Commit c35d49a

Browse files
authored
feat: enable Fedora 41 and Fedora 42 support (#115)
This pull request updates the Fedora version support in the `scripts/install-elastio.sh` script. The change ensures compatibility with newer Fedora versions while maintaining clear error messaging for unsupported versions. ### Fedora version support updates: * Modified the supported Fedora versions in the `case ${dist_ver}-$(uname -m)` block to include versions 41 and 42, in addition to version 40.
1 parent d1b57b1 commit c35d49a

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)