forked from coolaj86/node-installer.sh
Add raspbian option
This commit is contained in:
parent
373b1ebe19
commit
e7102d3406
|
@ -90,6 +90,8 @@ elif [ "$(uname | grep -i 'Linux')" ]; then
|
|||
|
||||
if [ "$(cat /etc/issue | grep -i 'Ubuntu')" ]; then
|
||||
OS='ubuntu'
|
||||
elif [ "$(cat /etc/issue | grep -i 'Raspbian')" ]; then
|
||||
OS='raspbian'
|
||||
elif [ "$(cat /etc/issue | grep -i 'Fedora')" ]; then
|
||||
OS='fedora'
|
||||
fi
|
||||
|
@ -106,6 +108,9 @@ case "${OS}" in
|
|||
ubuntu)
|
||||
SETUP_FILE="ubuntu"
|
||||
;;
|
||||
raspbian)
|
||||
SETUP_FILE="raspbian"
|
||||
;;
|
||||
yosemite)
|
||||
# mavericks
|
||||
SETUP_FILE="mavericks"
|
||||
|
|
Loading…
Reference in New Issue