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
|
if [ "$(cat /etc/issue | grep -i 'Ubuntu')" ]; then
|
||||||
OS='ubuntu'
|
OS='ubuntu'
|
||||||
|
elif [ "$(cat /etc/issue | grep -i 'Raspbian')" ]; then
|
||||||
|
OS='raspbian'
|
||||||
elif [ "$(cat /etc/issue | grep -i 'Fedora')" ]; then
|
elif [ "$(cat /etc/issue | grep -i 'Fedora')" ]; then
|
||||||
OS='fedora'
|
OS='fedora'
|
||||||
fi
|
fi
|
||||||
|
@ -106,6 +108,9 @@ case "${OS}" in
|
||||||
ubuntu)
|
ubuntu)
|
||||||
SETUP_FILE="ubuntu"
|
SETUP_FILE="ubuntu"
|
||||||
;;
|
;;
|
||||||
|
raspbian)
|
||||||
|
SETUP_FILE="raspbian"
|
||||||
|
;;
|
||||||
yosemite)
|
yosemite)
|
||||||
# mavericks
|
# mavericks
|
||||||
SETUP_FILE="mavericks"
|
SETUP_FILE="mavericks"
|
||||||
|
|
Loading…
Reference in New Issue