Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions linux-installer/idt-installer
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function install_deps {
install_darwin_deps
;;
"Linux")
if [[ "${DISTRO}" == *Ubuntu* || "${DISTRO}" == *Debian* ]]; then
if [[ "${DISTRO}" == *Ubuntu* || "${DISTRO}" == *Debian* || "${DISTRO}" == *Mint* ]]; then
install_deps_with_apt_get
elif [[ "${DISTRO}" == *Red*Hat* || "${DISTRO}" == *CentOS* ]]; then
install_deps_with_yum
Expand Down Expand Up @@ -484,8 +484,8 @@ function main {
"Linux")
# Linux distro, e.g "Ubuntu", "RedHatEnterpriseWorkstation", "RedHatEnterpriseServer", "CentOS", "Debian"
DISTRO=$(lsb_release -ds 2>/dev/null || cat /etc/*release 2>/dev/null | head -n1 || uname -om || echo "")
if [[ "$DISTRO" != *Ubuntu* && "$DISTRO" != *RedHat* && "$DISTRO" != *CentOS* && "$DISTRO" != *Debian* ]]; then
warn "Linux has only been tested on Ubuntu, RedHat, Centos & Debian distrubutions please let us know if you use this utility on other Distros"
if [[ "$DISTRO" != *Ubuntu* && "$DISTRO" != *RedHat* && "$DISTRO" != *CentOS* && "$DISTRO" != *Debian* && "$DISTRO" != *Mint* ]]; then
warn "Linux has only been tested on Ubuntu, Linux Mint, RedHat, Centos & Debian distrubutions please let us know if you use this utility on other Distros"
fi
;;
*)
Expand All @@ -510,4 +510,4 @@ function main {
#------------------------------------------------------------------------------
#-- Kick things off
#------------------------------------------------------------------------------
main "$@"
main "$@"