parent
5c51c85564
commit
037acb81c8
@ -68,8 +68,8 @@ module Homebrew extend self
|
|||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
|
||||||
v = f.stable.version || f.devel.version || f.head.version
|
spec = f.stable || f.devel || f.head
|
||||||
if v > version || ARGV.switch?('s') && !f.installed? || bottle_file_outdated?(f, file)
|
if spec.version > version || ARGV.switch?('s') && !f.installed? || bottle_file_outdated?(f, file)
|
||||||
cleanup_cached_file(file)
|
cleanup_cached_file(file)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user