Skip to content

Commit 6c853fb

Browse files
Merge pull request #171 from tiborvass/rhel
Make script work on RHEL
2 parents 1b02882 + ff2a04b commit 6c853fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,13 +337,13 @@ do_install() {
337337
esac
338338
;;
339339

340-
centos)
340+
centos|rhel)
341341
if [ -z "$dist_version" ] && [ -r /etc/os-release ]; then
342342
dist_version="$(. /etc/os-release && echo "$VERSION_ID")"
343343
fi
344344
;;
345345

346-
rhel|ol|sles)
346+
ol|sles)
347347
ee_notice "$lsb_dist"
348348
exit 1
349349
;;
@@ -422,7 +422,7 @@ do_install() {
422422
echo_docker_as_nonroot
423423
exit 0
424424
;;
425-
centos|fedora)
425+
centos|fedora|rhel)
426426
yum_repo="$DOWNLOAD_URL/linux/$lsb_dist/$REPO_FILE"
427427
if ! curl -Ifs "$yum_repo" > /dev/null; then
428428
echo "Error: Unable to curl repository file $yum_repo, is it valid?"

0 commit comments

Comments
 (0)