Fix installation for linux finding ID:fedora in os_release

pull/3901/head 0.6.113
Miguel Garcia Rodriguez 6 years ago committed by skullydazed
parent 265eca0f7c
commit e9a67f8fde

@ -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 \

Loading…
Cancel
Save