Fix linux_install.sh script for OpenSuse v 15.1 (#6251)

This commit is contained in:
Kenny Hung 2019-07-05 12:52:54 +01:00 committed by Drashna Jaelre
parent 9eb48deb44
commit 78b9922fc4

View File

@ -118,7 +118,7 @@ elif grep ID /etc/os-release | grep -q sabayon; then
elif grep ID /etc/os-release | grep -qE "opensuse|tumbleweed"; then
CROSS_AVR_GCC=cross-avr-gcc8
CROSS_ARM_GCC=cross-arm-none-gcc8
if grep ID /etc/os-release | grep -q "15.0"; then
if grep ID /etc/os-release | grep -q "15."; then
CROSS_AVR_GCC=cross-avr-gcc7
CROSS_ARM_GCC=cross-arm-none-gcc7
fi