diff options
author | Ryan <fauxpark@gmail.com> | 2020-11-27 01:37:54 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 14:37:54 +0000 |
commit | c21d5a09735e84412ee5b3efb4c3f5d3fc734393 (patch) | |
tree | c2b8405f45fb6f00b063561056fca4c5aad28bf8 /util/freebsd_install.sh | |
parent | 3afe0ea9b9f67ae33f54c1393b15d988764241a2 (diff) |
Refactor qmk_install.sh (#10681)
Diffstat (limited to 'util/freebsd_install.sh')
-rwxr-xr-x | util/freebsd_install.sh | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/util/freebsd_install.sh b/util/freebsd_install.sh deleted file mode 100755 index f5c78b556f..0000000000 --- a/util/freebsd_install.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -packages=$(cat <<EOF - git \ - wget \ - gmake \ - gcc \ - zip \ - unzip \ - avr-binutils \ - avr-gcc \ - avr-libc \ - dfu-programmer \ - dfu-util \ - avrdude \ - arm-none-eabi-gcc \ - arm-none-eabi-binutils \ - arm-none-eabi-newlib \ - diffutils \ - python3 -EOF -) -util_dir=$(dirname "$0") -if [ $(id -u) = 0 ]; then - pkg update - pkg install -y ${packages} - echo "" - echo "Re-run the setup as your normal user to install the qmk python dependencies" - exit 1 -else - if command -v sudo > /dev/null 2>&1; then - sudo pkg update - sudo pkg install -y ${packages} - else - echo "Make sure you run setup as root first to install base OS dependencies..." - echo "" - fi - - python3 -m pip install --user -r ${util_dir}/../requirements.txt -fi |