|
@@ -4,7 +4,7 @@ if grep ID /etc/os-release | grep -qE "rhel|fedora"; then
|
|
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 \
|
|
arm-none-eabi-binutils-cs arm-none-eabi-newlib
|
|
arm-none-eabi-binutils-cs arm-none-eabi-newlib
|
|
-elif grep ID /etc/os-release | grep -q debian; then
|
|
|
|
|
|
+elif grep ID /etc/os-release | grep -qE 'debian|ubuntu'; then
|
|
sudo apt-get update
|
|
sudo apt-get update
|
|
sudo apt-get install gcc unzip wget zip gcc-avr binutils-avr avr-libc \
|
|
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 \
|
|
dfu-programmer dfu-util gcc-arm-none-eabi binutils-arm-none-eabi \
|
|
@@ -38,5 +38,5 @@ fi
|
|
else
|
|
else
|
|
echo "Sorry, we don't recognize your OS. Help us by contributing support!"
|
|
echo "Sorry, we don't recognize your OS. Help us by contributing support!"
|
|
echo
|
|
echo
|
|
- echo "https://docs.qmk.fm/contributing.html"
|
|
|
|
|
|
+ echo "https://docs.qmk.fm/#/contributing"
|
|
fi
|
|
fi
|