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.
pull/24459/head 0.26.7
Nick Brassel 2024-10-06 21:39:37 +13:00 committed by GitHub
parent e12c1fefdf
commit c82f675266
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ _qmk_install() {
. /etc/os-release . /etc/os-release
if [ "$VERSION_ID" -ge "39" ]; then 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 sudo dnf $SKIP_PROMPT copr enable erovia/dfu-programmer
fi fi