From d09e5db6e99bce96614e510ea8b7df9adabf7d73 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Sun, 8 Mar 2020 13:18:47 +0200 Subject: [PATCH] Ignore pinned package changes in brew (fix #359) --- src/steps/os/unix.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/steps/os/unix.rs b/src/steps/os/unix.rs index 376340e1..544cfb65 100644 --- a/src/steps/os/unix.rs +++ b/src/steps/os/unix.rs @@ -34,7 +34,10 @@ pub fn run_homebrew(cleanup: bool, run_type: RunType) -> Result<()> { print_separator("Brew"); run_type.execute(&brew).arg("update").check_run()?; - run_type.execute(&brew).arg("upgrade").check_run()?; + run_type + .execute(&brew) + .args(&["upgrade", "--ignore-pinned"]) + .check_run()?; let cask_upgrade_exists = Command::new(&brew) .args(&["--repository", "buo/cask-upgrade"])