Skip to content
Snippets Groups Projects
Commit a81da087 authored by Jack Nagel's avatar Jack Nagel
Browse files

Refer to the real keg when dying because the keg exists


Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent d95f4673
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,8 @@ class FormulaInstaller
def check_install_sanity
if f.installed?
raise CannotInstallFormulaError, "#{f}-#{f.version} already installed"
keg = Keg.new(f.installed_prefix)
raise CannotInstallFormulaError, "#{f}-#{keg.version} already installed"
end
# Building head-only without --HEAD is an error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment