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.
This commit is contained in:
Nick Brassel authored and GitHub committed 2024-10-06 21:39:37 +13:00
1 parent e12c1fefdf
commit c82f675266
1 file changed
+1
+1
View File
@@ -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