commit: c82f6752666aa5795f80b90892c241dc40eb68d9
parent e12c1fefdfedbf772d10377c85e2c3caffbdb644
Author: Nick Brassel <nick@tzarc.org>
Date: Sun, 6 Oct 2024 21:39:37 +1300
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.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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