Skip to content

Commit 87b825b

Browse files
steveclaytriceam
authored andcommitted
Revert "idt-installer: Add support to Linux@IBM Clients moving Red Hat as priority distro. (#101)" (#103)
This reverts commit 5ea4b53.
1 parent 5ea4b53 commit 87b825b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

linux-installer/idt-installer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ function main {
483483
;;
484484
"Linux")
485485
# Linux distro, e.g "Ubuntu", "RedHatEnterpriseWorkstation", "RedHatEnterpriseServer", "CentOS", "Debian"
486-
DISTRO=$(lsb_release -ds 2>/dev/null || cat /etc/redhat-release 2>/dev/null | head -n1 || cat /etc/*release 2>/dev/null | head -n1 || uname -om || echo "")
486+
DISTRO=$(lsb_release -ds 2>/dev/null || cat /etc/*release 2>/dev/null | head -n1 || uname -om || echo "")
487487
if [[ "$DISTRO" != *Ubuntu* && "$DISTRO" != *RedHat* && "$DISTRO" != *CentOS* && "$DISTRO" != *Debian* ]]; then
488488
warn "Linux has only been tested on Ubuntu, RedHat, Centos & Debian distrubutions please let us know if you use this utility on other Distros"
489489
fi

0 commit comments

Comments
 (0)