diff --git a/debian/changelog b/debian/changelog index f02a4f3..d34bb64 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -pika-installer-gtk4 (1.0.0-100pika13) pikauwu; urgency=low +pika-installer-gtk4 (1.0.0-100pika14) pikauwu; urgency=low * First release diff --git a/src/partitioning_page/mod.rs b/src/partitioning_page/mod.rs index 7b6136d..a88835d 100644 --- a/src/partitioning_page/mod.rs +++ b/src/partitioning_page/mod.rs @@ -264,13 +264,13 @@ pub fn partitioning_page( fs::remove_file("/tmp/pika-installer-gtk4-target-manual-luks.txt").expect("Bad permissions on /tmp/pika-installer-gtk4-target-manual.txt"); } if Path::new("/tmp/pika-installer-gtk4-fail.txt").exists() { - cmd!("sudo", "rm", "-rf", "/tmp/pika-installer-gtk4-fail.txt").run(); + let _ = cmd!("bash","-c","sudo rm -rfv /tmp/pika-installer-gtk4-fail.txt").run(); } if Path::new("/tmp/pika-installer-gtk4-successful.txt").exists() { - cmd!("sudo", "rm", "-rf", "/tmp/pika-installer-gtk4-successful.txt").run(); + let _ = cmd!("bash","-c","sudo rm -rfv /tmp/pika-installer-gtk4-successful.txt").run(); } - for status_file in glob("/tmp/pika-installer-gtk4-status*").expect("Failed to read glob pattern") { - cmd!("sudo", "rm", "-rf", "/tmp/pika-installer-gtk4-status*").run(); + for _status_file in glob("/tmp/pika-installer-gtk4-status*").expect("Failed to read glob pattern") { + let _ = cmd!("bash","-c","sudo rm -rfv /tmp/pika-installer-gtk4-status*").run(); } for partition_file in glob("/tmp/pika-installer-gtk4-target-manual-p*").expect("Failed to read glob pattern") { let partition_file = partition_file.unwrap();