fix: --import-aur now saves to both CWD and ~/.cub/
This commit is contained in:
@@ -879,6 +879,12 @@ fn import_aur_target(target: &str) -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
println!("Imported AUR package into {}", output_dir.display());
|
||||
println!("{report}");
|
||||
|
||||
match cub::recipe::save_recipe_to_store(&conversion.rbpkg, &CubStore::new()?) {
|
||||
Ok(path) => println!("Also saved to ~/.cub/: {}", path.display()),
|
||||
Err(e) => eprintln!("Note: could not save to ~/.cub/: {e}"),
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user