Skip to content

Commit

Permalink
Fix installation for linux finding ID:fedora in os_release
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgr authored and skullydazed committed Sep 11, 2018
1 parent 265eca0 commit e9a67f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/linux_install.sh
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down

0 comments on commit e9a67f8

Please sign in to comment.