forked from coolaj86/node-installer.sh
Added support for Trisquel
This commit is contained in:
parent
c8d1657124
commit
fe16a47cb6
|
@ -98,6 +98,8 @@ elif [ "$(uname | grep -i 'Linux')" ]; then
|
||||||
OS='ubuntu'
|
OS='ubuntu'
|
||||||
elif [ "$(cat /etc/issue | grep -i 'Debian')" ]; then
|
elif [ "$(cat /etc/issue | grep -i 'Debian')" ]; then
|
||||||
OS='ubuntu'
|
OS='ubuntu'
|
||||||
|
elif [ "$(cat /etc/issue | grep -i 'Trisquel')" ]; then
|
||||||
|
OS='ubuntu'
|
||||||
elif [ "$(cat /etc/issue | grep -i 'Raspbian')" ]; then
|
elif [ "$(cat /etc/issue | grep -i 'Raspbian')" ]; then
|
||||||
OS='raspbian'
|
OS='raspbian'
|
||||||
elif [ "$(cat /etc/issue | grep -i 'Fedora')" ]; then
|
elif [ "$(cat /etc/issue | grep -i 'Fedora')" ]; then
|
||||||
|
|
|
@ -98,6 +98,8 @@ elif [ "$(uname | grep -i 'Linux')" ]; then
|
||||||
OS='ubuntu'
|
OS='ubuntu'
|
||||||
elif [ "$(cat /etc/issue | grep -i 'Debian')" ]; then
|
elif [ "$(cat /etc/issue | grep -i 'Debian')" ]; then
|
||||||
OS='ubuntu'
|
OS='ubuntu'
|
||||||
|
elif [ "$(cat /etc/issue | grep -i 'Trisquel')" ]; then
|
||||||
|
OS='ubuntu'
|
||||||
elif [ "$(cat /etc/issue | grep -i 'Raspbian')" ]; then
|
elif [ "$(cat /etc/issue | grep -i 'Raspbian')" ]; then
|
||||||
OS='raspbian'
|
OS='raspbian'
|
||||||
elif [ "$(cat /etc/issue | grep -i 'Fedora')" ]; then
|
elif [ "$(cat /etc/issue | grep -i 'Fedora')" ]; then
|
||||||
|
|
Loading…
Reference in New Issue