Skip to content

Commit 2d36167

Browse files
authored
Merge pull request #114 from IBM-Cloud/111
Add support for Fedora 29
2 parents ca88585 + 1b1bb14 commit 2d36167

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

linux-installer/idt-installer

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function install_deps {
168168
"Linux")
169169
if [[ "${DISTRO}" == *Ubuntu* || "${DISTRO}" == *Debian* ]]; then
170170
install_deps_with_apt_get
171-
elif [[ "${DISTRO}" == *Red*Hat* || "${DISTRO}" == *CentOS* || "${DISTRO}" == *RHEL* ]]; then
171+
elif [[ "${DISTRO}" == *Red*Hat* || "${DISTRO}" == *CentOS* || "${DISTRO}" == *RHEL* || "${DISTRO}" == *Fedora* ]]; then
172172
install_deps_with_yum
173173
else
174174
error "This script has not been updated for use with your linux distribution (${DISTRO})"
@@ -501,8 +501,8 @@ function main {
501501
"Linux")
502502
# Linux distro, e.g "Ubuntu", "RedHatEnterpriseWorkstation", "RedHatEnterpriseServer", "CentOS", "Debian"
503503
DISTRO=$(lsb_release -ds 2>/dev/null || cat /etc/*release 2>/dev/null | head -n1 || uname -om || echo "")
504-
if [[ "$DISTRO" != *Ubuntu* && "$DISTRO" != *Red*Hat* && "$DISTRO" != *CentOS* && "$DISTRO" != *Debian* && "$DISTRO" != *RHEL* ]]; then
505-
warn "Linux has only been tested on Ubuntu, RedHat, Centos & Debian distrubutions please let us know if you use this utility on other Distros"
504+
if [[ "$DISTRO" != *Ubuntu* && "$DISTRO" != *Red*Hat* && "$DISTRO" != *CentOS* && "$DISTRO" != *Debian* && "$DISTRO" != *RHEL* && "$DISTRO" != *Fedora* ]]; then
505+
warn "Linux has only been tested on Ubuntu, RedHat, Centos, Debian and Fedora distrubutions please let us know if you use this utility on other Distros"
506506
fi
507507
;;
508508
*)
@@ -527,4 +527,4 @@ function main {
527527
#------------------------------------------------------------------------------
528528
#-- Kick things off
529529
#------------------------------------------------------------------------------
530-
main "$@"
530+
main "$@"

0 commit comments

Comments
 (0)