diff --git a/src/steps/os/unix.rs b/src/steps/os/unix.rs index 4732281e..b54415d9 100644 --- a/src/steps/os/unix.rs +++ b/src/steps/os/unix.rs @@ -53,7 +53,7 @@ pub fn run_homebrew(cleanup: bool, run_type: RunType) -> Result<(), Error> { .map(|p| Path::new(p.trim()).exists())?; if cask_upgrade_exists { - run_type.execute(&brew).args(&["cu", "-a"]).check_run()?; + run_type.execute(&brew).args(&["cu", "-ay"]).check_run()?; } else { run_type.execute(&brew).args(&["cask", "upgrade"]).check_run()?; }