From 7ec05052003ecf6142d94aeaa62f4b4bd84a569d Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 28 Jul 2017 17:47:10 +0100 Subject: Preserve link status on reinstall/upgrade. This means if a user has manually `brew unlink` or `brew link --force`d something then that status will be preserved after they `brew upgrade` or `brew reinstall` that formula. This generally should make things that are keg-only by default easier to swallow. --- Library/Homebrew/test/bottle_hooks_spec.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Homebrew/test') diff --git a/Library/Homebrew/test/bottle_hooks_spec.rb b/Library/Homebrew/test/bottle_hooks_spec.rb index 913e3ffba..78ccfa47b 100644 --- a/Library/Homebrew/test/bottle_hooks_spec.rb +++ b/Library/Homebrew/test/bottle_hooks_spec.rb @@ -12,6 +12,8 @@ describe Homebrew::Hooks::Bottles do local_bottle_path: nil, bottle_disabled?: false, some_random_method: true, + linked_keg: Pathname("foo"), + rack: Pathname("bar"), ) end -- cgit v1.2.3