Refer to the real keg when dying because the keg exists
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
d95f467362
commit
a81da08732
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user