{"action":"created","issue":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4507","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4507/labels{/name}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4507/comments","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4507/events","html_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4507","id":111907429,"number":4507,"title":"Fix install.sh/upgrade.sh for tput-less systems","user":{"login":"WhyEee","id":952730,"avatar_url":"https://avatars.githubusercontent.com/u/952730?v=3","gravatar_id":"","url":"https://api.github.com/users/WhyEee","html_url":"https://github.com/WhyEee","followers_url":"https://api.github.com/users/WhyEee/followers","following_url":"https://api.github.com/users/WhyEee/following{/other_user}","gists_url":"https://api.github.com/users/WhyEee/gists{/gist_id}","starred_url":"https://api.github.com/users/WhyEee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WhyEee/subscriptions","organizations_url":"https://api.github.com/users/WhyEee/orgs","repos_url":"https://api.github.com/users/WhyEee/repos","events_url":"https://api.github.com/users/WhyEee/events{/privacy}","received_events_url":"https://api.github.com/users/WhyEee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-16T20:44:16Z","updated_at":"2015-10-20T21:30:55Z","closed_at":"2015-10-20T21:30:29Z","pull_request":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/4507","html_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4507","diff_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4507.diff","patch_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4507.patch"},"body":"@fcrozat's original fix assumes `which` not to output anything to STDOUT\r\nin case the command is not found. That is not necessarily true on all\r\nsystems. A better solution is to check the return value instead.\r\n\r\nFixes #4376.\r\nSupersedes #4496."},"comment":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments/149709256","html_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4507#issuecomment-149709256","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4507","id":149709256,"user":{"login":"mcornella","id":1441704,"avatar_url":"https://avatars.githubusercontent.com/u/1441704?v=3","gravatar_id":"","url":"https://api.github.com/users/mcornella","html_url":"https://github.com/mcornella","followers_url":"https://api.github.com/users/mcornella/followers","following_url":"https://api.github.com/users/mcornella/following{/other_user}","gists_url":"https://api.github.com/users/mcornella/gists{/gist_id}","starred_url":"https://api.github.com/users/mcornella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcornella/subscriptions","organizations_url":"https://api.github.com/users/mcornella/orgs","repos_url":"https://api.github.com/users/mcornella/repos","events_url":"https://api.github.com/users/mcornella/events{/privacy}","received_events_url":"https://api.github.com/users/mcornella/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T21:30:55Z","updated_at":"2015-10-20T21:30:55Z","body":"Good job @WhyEee, merging as per https://github.com/robbyrussell/oh-my-zsh/pull/4496#issuecomment-148749806. Works well :+1: "}}