~ruther/qmk_firmware

ref: 34ba7f1c18a6924f47947e76b32d7620411d1e7a qmk_firmware/util/install/linux_shared.sh -rwxr-xr-x 435 bytes
34ba7f1c — Ryan Bug report template: require `qmk doctor` output (#16517) 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env 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
}