1
0
mirror of synced 2025-01-30 20:11:45 +03:00

Add support for Raspbian

[ci skip]
This commit is contained in:
hwdsl2 2016-08-11 15:14:52 -05:00
parent 1f1cbb069e
commit 0c3b2851f5

View File

@ -21,7 +21,7 @@ exiterr() { echo "Error: ${1}" >&2; exit 1; }
exiterr2() { echo "Error: 'apt-get install' failed." >&2; exit 1; }
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."
fi