tab: check mxcl/master synonym unconditionally
This commit is contained in:
parent
8f0249e9a1
commit
b7732e80b4
@ -43,10 +43,10 @@ class Tab < OpenStruct
|
|||||||
tapped_from = attributes["tapped_from"]
|
tapped_from = attributes["tapped_from"]
|
||||||
unless tapped_from.nil? || tapped_from == "path or URL"
|
unless tapped_from.nil? || tapped_from == "path or URL"
|
||||||
attributes["source"]["tap"] = attributes.delete("tapped_from")
|
attributes["source"]["tap"] = attributes.delete("tapped_from")
|
||||||
|
end
|
||||||
|
|
||||||
if attributes["source"]["tap"] == "mxcl/master"
|
if attributes["source"]["tap"] == "mxcl/master"
|
||||||
attributes["source"]["tap"] == "Homebrew/homebrew"
|
attributes["source"]["tap"] = "Homebrew/homebrew"
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if attributes["source"]["spec"].nil?
|
if attributes["source"]["spec"].nil?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user