Fix installation for linux finding ID:fedora in os_release

master
Miguel Garcia Rodriguez 2018-08-27 19:56:02 +02:00 committed by skullydazed
parent 265eca0f7c
commit e9a67f8fde
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
if grep ID /etc/os-release | grep -q rhel; then
if grep ID /etc/os-release | grep -qE "rhel|fedora"; then
# RPM based OS
sudo dnf install gcc unzip wget zip dfu-util dfu-programmer avr-gcc \
avr-libc binutils-avr32-linux-gnu arm-none-eabi-gcc-cs \