Skip to content

Commit

Permalink
feat(backend/steps/dnfdownloadapps): also install the ims
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Jan 15, 2025
1 parent 8c0bcda commit a539f31
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/backend/steps/_05_dnfdownloadapps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ impl super::Step for DnfDownloadApps {
.iter()
.map(ToString::to_string),
);

settings.actions[1].extend(
(settings.ims.iter())
.filter_map(|im| {
crate::backend::i18n::IMS
.values()
.find_map(|ims| ims.get(im))
})
.map(|im| im.get_pkg().to_owned())
.unique(),
);

Ok(())
}
#[tracing::instrument]
Expand Down

0 comments on commit a539f31

Please sign in to comment.