aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorNick Brassel <[email protected]>2024-10-06 21:39:37 +1300
committerGitHub <[email protected]>2024-10-06 21:39:37 +1300
commitc82f6752666aa5795f80b90892c241dc40eb68d9 (patch)
treec56c8cf62cfe1e7baacbcf13c370dcdf93b1942b /util
parente12c1fefdfedbf772d10377c85e2c3caffbdb644 (diff)
downloadqmk_firmware-c82f6752666aa5795f80b90892c241dc40eb68d9.tar.gz
qmk_firmware-c82f6752666aa5795f80b90892c241dc40eb68d9.zip
Install `dnf copr` plugin if not present (i.e. docker containers). (#24308)0.26.7
* Install `dnf copr` plugin if not present (i.e. docker containers). * Don't need to skip prompt when invoking help.
Diffstat (limited to 'util')
-rwxr-xr-xutil/install/fedora.sh1
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() {
. /etc/os-release
if [ "$VERSION_ID" -ge "39" ]; then
+ sudo dnf copr -h >/dev/null 2>&1 || sudo dnf $SKIP_PROMPT install dnf-plugins-core
sudo dnf $SKIP_PROMPT copr enable erovia/dfu-programmer
fi