1
0
Fork 0

Fix installation for linux finding ID:fedora in os_release

This commit is contained in:
Miguel Garcia Rodriguez 2018-08-27 19:56:02 +02:00 committed by skullydazed
parent 265eca0f7c
commit e9a67f8fde

View file

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