Fix installation for linux finding ID:fedora in os_release
parent
265eca0f7c
commit
e9a67f8fde
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/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
|
# RPM based OS
|
||||||
sudo dnf install gcc unzip wget zip dfu-util dfu-programmer avr-gcc \
|
sudo dnf install gcc unzip wget zip dfu-util dfu-programmer avr-gcc \
|
||||||
avr-libc binutils-avr32-linux-gnu arm-none-eabi-gcc-cs \
|
avr-libc binutils-avr32-linux-gnu arm-none-eabi-gcc-cs \
|
||||||
|
|
Loading…
Reference in New Issue