From 8a14fc8edee4a4223fb35c2d3471ba6ddc7ee001 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 26 Jul 2018 20:38:51 +0000 Subject: [PATCH] assume no dev tools by default --- install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index b75e555..1aa1ff6 100644 --- a/install.sh +++ b/install.sh @@ -112,6 +112,8 @@ elif [ "$(uname | grep -i 'Linux')" ]; then OS='ubuntu' elif [ "$(cat /etc/issue | grep -i 'elementary OS')" ]; then OS='ubuntu' + elif [ "$(cat /etc/issue | grep -i 'Arch ')" ]; then + OS='ubuntu' elif [ "$(cat /etc/issue | grep -i 'Debian')" ]; then OS='ubuntu' elif [ "$(cat /etc/issue | grep -i 'Trisquel')" ]; then @@ -121,13 +123,15 @@ elif [ "$(uname | grep -i 'Linux')" ]; then elif [ "$(cat /etc/issue | grep -i 'Raspbian')" ]; then OS='raspbian' elif [ "$(cat /etc/issue | grep -i 'Fedora')" ]; then - OS='fedora' + OS='ubuntu' elif [ "$(cat /etc/issue | grep -i 'Marvell')" ]; then OS='marvell' + else + OS='ubuntu' fi else echo "unsupported unknown os (non-mac, non-linux)" - exit 1 + exit 500 fi case "${OS}" in