Opinionated Android 15+ Linux Terminal Setup
android linux command-line-tools

always display diffs

+12 -12
+12 -12
src/cmd/setup.rs
··· 23 23 false => compare_configurations(&Configuration::empty(), &cfg), 24 24 }; 25 25 26 - if !no_confirm && !dry_run { 27 - if diffs.is_empty() { 28 - println!( 29 - "{}", 30 - "No changes detected. Your environment is already up to date.".green() 31 - ); 32 - return Ok(()); 33 - } 26 + if diffs.is_empty() { 27 + println!( 28 + "{}", 29 + "No changes detected. Your environment is already up to date.".green() 30 + ); 31 + return Ok(()); 32 + } 34 33 35 - println!("The following changes will be made:"); 36 - for d in diffs.iter().clone() { 37 - println!("{}", d); 38 - } 34 + println!("The following changes will be made:"); 35 + for d in diffs.iter().clone() { 36 + println!("{}", d); 37 + } 39 38 39 + if !no_confirm && !dry_run { 40 40 match std::path::Path::new(CONFIG_FILE).exists() { 41 41 true => { 42 42 println!(