mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
Only use the bottle if its version is up-to-date
Rationale: if you edit a formula to use a different source URL it should build that and not the pour the bottle. Obviously.
This commit is contained in:
1 parent
311d28fcd7
commit
2695821e98
1 file changed
+2
-1
@@ -14,7 +14,8 @@ class FormulaInstaller
|
||||
@f = ff
|
||||
@show_header = true
|
||||
@ignore_deps = ARGV.include? '--ignore-dependencies' || ARGV.interactive?
|
||||
@install_bottle = !ff.bottle.nil? && !ARGV.build_from_source?
|
||||
@install_bottle = !ff.bottle.nil? && !ARGV.build_from_source? &&
|
||||
Pathname.new(ff.bottle).version == ff.version
|
||||
end
|
||||
|
||||
def install
|
||||
|
||||
Reference in new issue
Block a user