Add Flatpak and snap to Step::System (#218)

This makes them easier to disable
This commit is contained in:
Jonathan Dahan
2019-09-05 02:32:30 -04:00
committed by Roey Darwish Dror
parent f54d46ab2b
commit 8743236acb

View File

@@ -396,6 +396,7 @@ fn run() -> Result<(), Error> {
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
{ {
if config.should_run(Step::System) {
execute( execute(
&mut report, &mut report,
"Flatpak", "Flatpak",
@@ -409,6 +410,7 @@ fn run() -> Result<(), Error> {
config.no_retry(), config.no_retry(),
)?; )?;
} }
}
if let Some(commands) = config.commands() { if let Some(commands) = config.commands() {
for (name, command) in commands { for (name, command) in commands {