Skip to content

Commit

Permalink
Added archlinux support to linux_install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
florensie authored and jackhumbert committed May 2, 2018
1 parent e5540dd commit ddb1c83
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions util/linux_install.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ elif grep ID /etc/os-release | grep -q debian; then
sudo apt-get install gcc unzip wget zip gcc-avr binutils-avr avr-libc \
dfu-programmer dfu-util gcc-arm-none-eabi binutils-arm-none-eabi \
libnewlib-arm-none-eabi
elif grep ID /etc/os-release | grep -q arch; then
sudo pacman -S gcc unzip wget zip avr-gcc avr-binutils avr-libc \
dfu-util arm-none-eabi-gcc arm-none-eabi-binutils \
arm-none-eabi-newlib
git clone https://aur.archlinux.org/dfu-programmer.git /tmp/dfu-programmer
cd /tmp/dfu-programmer
makepkg -sic
rm -rf /tmp/dfu-programmer/

else
echo "Sorry, we don't recognize your OS. Help us by contributing support!"
echo
Expand Down

0 comments on commit ddb1c83

Please sign in to comment.