From 470231c9d1a4337f6c0e5c61629085b51515ff77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sch=C3=B6nauer?= <37108907+DottoDev@users.noreply.github.com> Date: Sat, 3 Jun 2023 21:22:23 +0000 Subject: [PATCH] Revert "fix: fix mist" (#465) Revert "fix: fix mist (#464)" This reverts commit 282e336ac458716fd1d28e6b517b19cebc8f3f20. --- src/steps/os/linux.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/steps/os/linux.rs b/src/steps/os/linux.rs index 8f773af0..d463c248 100644 --- a/src/steps/os/linux.rs +++ b/src/steps/os/linux.rs @@ -457,7 +457,6 @@ fn upgrade_debian(ctx: &ExecutionContext) -> Result<()> { }) .unwrap_or_else(|| PathBuf::from("apt-get")); - let is_mist = apt.ends_with("mist"); let is_nala = apt.ends_with("nala"); if !is_nala { ctx.run_type() @@ -469,7 +468,7 @@ fn upgrade_debian(ctx: &ExecutionContext) -> Result<()> { let mut command = ctx.run_type().execute(sudo); command.arg(&apt); - if is_nala || is_mist { + if is_nala { command.arg("upgrade"); } else { command.arg("dist-upgrade");