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:
parent
e12c1fefdf
commit
c82f675266
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user