Ignore pinned package changes in brew (fix #359)

This commit is contained in:
Roey Darwish Dror
2020-03-08 13:18:47 +02:00
parent 497c56cec7
commit d09e5db6e9

View File

@@ -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"])