aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/migrator.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/migrator.rb b/Library/Homebrew/migrator.rb
index 1ef554a39..3418073d0 100644
--- a/Library/Homebrew/migrator.rb
+++ b/Library/Homebrew/migrator.rb
@@ -163,9 +163,9 @@ class Migrator
unlink_oldname
move_to_new_directory
repin
- link_newname unless old_linked_keg.nil?
- link_oldname_opt
link_oldname_cellar
+ link_oldname_opt
+ link_newname unless old_linked_keg.nil?
update_tabs
rescue Interrupt
ignore_interrupts { backup_oldname }