diff options
| author | Nick Brassel <nick@tzarc.org> | 2024-10-06 21:39:37 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-06 21:39:37 +1300 |
| commit | c82f6752666aa5795f80b90892c241dc40eb68d9 (patch) | |
| tree | c56c8cf62cfe1e7baacbcf13c370dcdf93b1942b | |
| parent | e12c1fefdfedbf772d10377c85e2c3caffbdb644 (diff) | |
Install `dnf copr` plugin if not present (i.e. docker containers). (#24308)
* Install `dnf copr` plugin if not present (i.e. docker containers).
* Don't need to skip prompt when invoking help.
| -rwxr-xr-x | util/install/fedora.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/install/fedora.sh b/util/install/fedora.sh index 0b93326bbf..20a1488206 100755 --- a/util/install/fedora.sh +++ b/util/install/fedora.sh | |||
| @@ -5,6 +5,7 @@ _qmk_install() { | |||
| 5 | 5 | ||
| 6 | . /etc/os-release | 6 | . /etc/os-release |
| 7 | if [ "$VERSION_ID" -ge "39" ]; then | 7 | if [ "$VERSION_ID" -ge "39" ]; then |
| 8 | sudo dnf copr -h >/dev/null 2>&1 || sudo dnf $SKIP_PROMPT install dnf-plugins-core | ||
| 8 | sudo dnf $SKIP_PROMPT copr enable erovia/dfu-programmer | 9 | sudo dnf $SKIP_PROMPT copr enable erovia/dfu-programmer |
| 9 | fi | 10 | fi |
| 10 | 11 | ||
