Merge pull request #6554 from vyrak/keep-head-state

homebrew: state=head includes --HEAD
This commit is contained in:
Michael DeHaan 2014-03-18 12:58:01 -04:00
commit d60fb500dc

View file

@ -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':