fix: Specify exact dnf commands for installing plugins (#444)
This commit is contained in:
parent
7612a77250
commit
077f39e7f0
2 changed files with 4 additions and 3 deletions
1
.github/CODEOWNERS
vendored
1
.github/CODEOWNERS
vendored
|
|
@ -1 +1,2 @@
|
|||
* @xynydev @fiftydinar
|
||||
modules/dnf/* @gmpinder
|
||||
|
|
|
|||
|
|
@ -421,14 +421,14 @@ def check_dnf_plugins []: nothing -> nothing {
|
|||
if (^rpm -q dnf-plugins-core | complete).exit_code != 0 {
|
||||
print $'(ansi yellow1)Required dnf4 plugins are not installed. Installing plugins(ansi reset)'
|
||||
|
||||
dnf install [dnf-plugins-core]
|
||||
^dnf4 -y install dnf-plugins-core
|
||||
}
|
||||
}
|
||||
"dnf5" => {
|
||||
if (^rpm -q dnf5-plugins | complete).exit_code != 0 {
|
||||
print $'(ansi yellow1)Required dnf5 plugins are not installed. Installing plugins(ansi reset)'
|
||||
|
||||
dnf install [dnf5-plugins]
|
||||
^dnf5 -y install dnf5-plugins
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue