Build from source on bottle pour failure.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
360af367a8
commit
443bf9f287
@ -92,9 +92,17 @@ class FormulaInstaller
|
||||
|
||||
@@attempted << f
|
||||
|
||||
poured_bottle = false
|
||||
begin
|
||||
if pour_bottle?
|
||||
pour
|
||||
else
|
||||
poured_bottle = true
|
||||
end
|
||||
rescue
|
||||
opoo "Bottle installation failed: building from source."
|
||||
end
|
||||
|
||||
unless poured_bottle
|
||||
build
|
||||
clean
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user