committed by
GitHub
parent
cdbcd7be7a
commit
a519bc5475
@@ -249,7 +249,11 @@ fn upgrade_redhat(ctx: &ExecutionContext) -> Result<()> {
|
||||
.if_exists()
|
||||
.unwrap_or_else(|| Path::new("/usr/bin/yum")),
|
||||
)
|
||||
.arg("upgrade");
|
||||
.arg(if ctx.config().redhat_distro_sync() {
|
||||
"distro-sync"
|
||||
} else {
|
||||
"upgrade"
|
||||
});
|
||||
|
||||
if let Some(args) = ctx.config().dnf_arguments() {
|
||||
command.args(args.split_whitespace());
|
||||
|
||||
Reference in New Issue
Block a user