mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-16 17:04:50 +00:00
13 lines
427 B
Bash
Executable file
13 lines
427 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# For those distros that do not package bootloadHID
|
|
_qmk_install_bootloadhid() {
|
|
if ! command -v bootloadHID > /dev/null; then
|
|
wget https://www.obdev.at/downloads/vusb/bootloadHID.2012-12-08.tar.gz -O - | tar -xz -C /tmp
|
|
pushd /tmp/bootloadHID.2012-12-08/commandline/ > /dev/null
|
|
if make; then
|
|
sudo cp bootloadHID /usr/local/bin
|
|
fi
|
|
popd > /dev/null
|
|
fi
|
|
}
|