Skip to content

Commit

Permalink
Make uninstall less bad for prebuilts (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein authored Apr 28, 2022
1 parent c598def commit adc7481
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/src/bin/omicron-package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,8 @@ fn do_uninstall(
uninstall_all_packages(config);
println!("Removing artifacts in: {}", artifact_dir.to_string_lossy());

const ARTIFACTS_TO_KEEP: &[&str] = &["clickhouse", "cockroachdb", "xde"];
const ARTIFACTS_TO_KEEP: &[&str] =
&["clickhouse", "cockroachdb", "xde", "console-assets", "downloads"];
remove_all_except(artifact_dir, ARTIFACTS_TO_KEEP)?;

println!(
Expand Down

0 comments on commit adc7481

Please sign in to comment.