mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-21 16:06:35 +06:00
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
|
. /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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user