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
|
@@attempted << f
|
||||||
|
|
||||||
if pour_bottle?
|
poured_bottle = false
|
||||||
pour
|
begin
|
||||||
else
|
if pour_bottle?
|
||||||
|
pour
|
||||||
|
poured_bottle = true
|
||||||
|
end
|
||||||
|
rescue
|
||||||
|
opoo "Bottle installation failed: building from source."
|
||||||
|
end
|
||||||
|
|
||||||
|
unless poured_bottle
|
||||||
build
|
build
|
||||||
clean
|
clean
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user