Add support for Raspbian
This commit is contained in:
parent
68adddc969
commit
d3651890bd
@ -37,7 +37,7 @@ exiterr() { echo "Error: ${1}" >&2; exit 1; }
|
|||||||
exiterr2() { echo "Error: 'apt-get install' failed." >&2; exit 1; }
|
exiterr2() { echo "Error: 'apt-get install' failed." >&2; exit 1; }
|
||||||
|
|
||||||
os_type="$(lsb_release -si 2>/dev/null)"
|
os_type="$(lsb_release -si 2>/dev/null)"
|
||||||
if [ "$os_type" != "Ubuntu" ] && [ "$os_type" != "Debian" ]; then
|
if [ "$os_type" != "Ubuntu" ] && [ "$os_type" != "Debian" ] && [ "$os_type" != "Raspbian" ]; then
|
||||||
exiterr "This script only supports Ubuntu/Debian."
|
exiterr "This script only supports Ubuntu/Debian."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user