Procházet zdrojové kódy

Fix installation for linux finding ID:fedora in os_release

Miguel Garcia Rodriguez před 6 roky
rodič
revize
e9a67f8fde
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      util/linux_install.sh

+ 1 - 1
util/linux_install.sh

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