Added Linux Mint support
This commit is contained in:
parent
9163e8e4e5
commit
4eccc5c807
|
@ -92,6 +92,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 'Linux Mint')" ]; 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
|
||||||
|
|
|
@ -92,6 +92,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 'Linux Mint')" ]; 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