assume no dev tools by default
This commit is contained in:
parent
2309008c5f
commit
8a14fc8ede
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue