Skip to content

Commit 1b1bb14

Browse files
author
Philip Schmidt
committed
add support for Fedora 29
1 parent 5e5a83b commit 1b1bb14

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})"
@@ -497,8 +497,8 @@ function main {
497497
"Linux")
498498
# Linux distro, e.g "Ubuntu", "RedHatEnterpriseWorkstation", "RedHatEnterpriseServer", "CentOS", "Debian"
499499
DISTRO=$(lsb_release -ds 2>/dev/null || cat /etc/*release 2>/dev/null | head -n1 || uname -om || echo "")
500-
if [[ "$DISTRO" != *Ubuntu* && "$DISTRO" != *Red*Hat* && "$DISTRO" != *CentOS* && "$DISTRO" != *Debian* && "$DISTRO" != *RHEL* ]]; then
501-
warn "Linux has only been tested on Ubuntu, RedHat, Centos & Debian distrubutions please let us know if you use this utility on other Distros"
500+
if [[ "$DISTRO" != *Ubuntu* && "$DISTRO" != *Red*Hat* && "$DISTRO" != *CentOS* && "$DISTRO" != *Debian* && "$DISTRO" != *RHEL* && "$DISTRO" != *Fedora* ]]; then
501+
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"
502502
fi
503503
;;
504504
*)
@@ -523,4 +523,4 @@ function main {
523523
#------------------------------------------------------------------------------
524524
#-- Kick things off
525525
#------------------------------------------------------------------------------
526-
main "$@"
526+
main "$@"

0 commit comments

Comments
 (0)