fix: Specify exact dnf commands for installing plugins (#444)

This commit is contained in:
Gerald Pinder 2025-08-06 16:44:52 -04:00 committed by GitHub
parent 7612a77250
commit 077f39e7f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

1
.github/CODEOWNERS vendored
View file

@ -1 +1,2 @@
* @xynydev @fiftydinar
modules/dnf/* @gmpinder

View file

@ -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
}
}
}