Commit f5289dee by vyrak bunleang

prevent state from changing from head to installed

allows for --HEAD to be included in brew install command
parent 9da26da3
...@@ -756,8 +756,10 @@ def main(): ...@@ -756,8 +756,10 @@ def main():
path = ['/usr/local/bin'] path = ['/usr/local/bin']
state = p['state'] state = p['state']
if state in ('present', 'installed', 'head'): if state in ('present', 'installed'):
state = 'installed' state = 'installed'
if state in ('head'):
state = 'head'
if state in ('latest', 'upgraded'): if state in ('latest', 'upgraded'):
state = 'upgraded' state = 'upgraded'
if state == 'linked': if state == 'linked':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment