aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-09-04 13:22:06 +0100
committerMike McQuaid2016-09-04 13:22:06 +0100
commit44ae0080e1bcba68f80f70c0f7bd01b4e753c3e1 (patch)
tree5796e86657b2e082a771b57ee6995e961c686e93 /Library
parentf19ad51734e7d68ba4d1361d942f7138345e3085 (diff)
downloadbrew-44ae0080e1bcba68f80f70c0f7bd01b4e753c3e1.tar.bz2
Revert "bottle: allow --keep-old to ignore same sha256s."
This reverts commit ec1437499a178a09805854469c5162d749270f3e.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 12071b907..888e8c778 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -391,14 +391,10 @@ module Homebrew
if !tag.empty?
if !bottle_hash["bottle"]["tags"][tag].to_s.empty?
- old_value = bottle_hash["bottle"]["tags"][tag][key].to_s
- if value != old_value
- mismatches << "#{key} => #{tag}"
- end
- next
+ mismatches << "#{key} => #{tag}"
+ else
+ bottle.send(key, value => tag.to_sym)
end
-
- bottle.send(key, value => tag.to_sym)
next
end