tab: check mxcl/master synonym unconditionally

This commit is contained in:
Xu Cheng 2015-08-02 16:34:45 +08:00
parent 8f0249e9a1
commit b7732e80b4

View File

@ -43,10 +43,10 @@ class Tab < OpenStruct
tapped_from = attributes["tapped_from"]
unless tapped_from.nil? || tapped_from == "path or URL"
attributes["source"]["tap"] = attributes.delete("tapped_from")
end
if attributes["source"]["tap"] == "mxcl/master"
attributes["source"]["tap"] == "Homebrew/homebrew"
end
attributes["source"]["tap"] = "Homebrew/homebrew"
end
if attributes["source"]["spec"].nil?