{"action":"created","comment":{"url":"https://api.github.com/repos/deis/deis.io/pulls/comments/54441192","id":54441192,"diff_hunk":"@@ -59,7 +59,12 @@ VERSION=\"$(get_latest_version \"${DEIS_VERSION_URL}\")\"\n DEIS_CLI=\"deis-${VERSION}-${PLATFORM}-${ARCH}\"\n \n echo \"Downloading ${DEIS_CLI} from Bintray...\"\n-curl -Ls \"${DEIS_BIN_URL_BASE}/${DEIS_CLI}\" -O\n+\n+if [[ $(which wget) ]]; then\n+    wget -q \"${DEIS_BIN_URL_BASE}/${DEIS_CLI}\"\n+else\n+    curl -Ls \"${DEIS_BIN_URL_BASE}/${DEIS_CLI}\" -O","path":"deis-cli/install-v2-alpha.sh","position":null,"original_position":9,"commit_id":"67a7671ada30f2aa95f82261f55d81565bd9b29b","original_commit_id":"adfbcf5881e10e921216fe52fe33160d62a626e2","user":{"login":"bacongobbler","id":1360539,"avatar_url":"https://avatars.githubusercontent.com/u/1360539?v=3","gravatar_id":"","url":"https://api.github.com/users/bacongobbler","html_url":"https://github.com/bacongobbler","followers_url":"https://api.github.com/users/bacongobbler/followers","following_url":"https://api.github.com/users/bacongobbler/following{/other_user}","gists_url":"https://api.github.com/users/bacongobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/bacongobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacongobbler/subscriptions","organizations_url":"https://api.github.com/users/bacongobbler/orgs","repos_url":"https://api.github.com/users/bacongobbler/repos","events_url":"https://api.github.com/users/bacongobbler/events{/privacy}","received_events_url":"https://api.github.com/users/bacongobbler/received_events","type":"User","site_admin":false},"body":"agreed. @rimusz perhaps you need to install `ca-certificates` or something similar? Perhaps there is a different fix here to verify the SSL certificate rather than pass an insecure flag.","created_at":"2016-02-29T17:04:52Z","updated_at":"2016-02-29T17:04:52Z","html_url":"https://github.com/deis/deis.io/pull/147#discussion_r54441192","pull_request_url":"https://api.github.com/repos/deis/deis.io/pulls/147","_links":{"self":{"href":"https://api.github.com/repos/deis/deis.io/pulls/comments/54441192"},"html":{"href":"https://github.com/deis/deis.io/pull/147#discussion_r54441192"},"pull_request":{"href":"https://api.github.com/repos/deis/deis.io/pulls/147"}}},"pull_request":{"url":"https://api.github.com/repos/deis/deis.io/pulls/147","id":60887487,"html_url":"https://github.com/deis/deis.io/pull/147","diff_url":"https://github.com/deis/deis.io/pull/147.diff","patch_url":"https://github.com/deis/deis.io/pull/147.patch","issue_url":"https://api.github.com/repos/deis/deis.io/issues/147","number":147,"state":"open","locked":false,"title":"fix(install-v2-alpha.sh) to work on GC Shell","user":{"login":"rimusz","id":5215395,"avatar_url":"https://avatars.githubusercontent.com/u/5215395?v=3","gravatar_id":"","url":"https://api.github.com/users/rimusz","html_url":"https://github.com/rimusz","followers_url":"https://api.github.com/users/rimusz/followers","following_url":"https://api.github.com/users/rimusz/following{/other_user}","gists_url":"https://api.github.com/users/rimusz/gists{/gist_id}","starred_url":"https://api.github.com/users/rimusz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimusz/subscriptions","organizations_url":"https://api.github.com/users/rimusz/orgs","repos_url":"https://api.github.com/users/rimusz/repos","events_url":"https://api.github.com/users/rimusz/events{/privacy}","received_events_url":"https://api.github.com/users/rimusz/received_events","type":"User","site_admin":false},"body":"add wget to download files from Bintray, as curl on Debian (Google Cloud Shell) does not download files from the Bintray","created_at":"2016-02-26T19:02:35Z","updated_at":"2016-02-29T17:04:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1656ad4bb35e41215acbc08796987250f77f01a0","assignee":{"login":"bacongobbler","id":1360539,"avatar_url":"https://avatars.githubusercontent.com/u/1360539?v=3","gravatar_id":"","url":"https://api.github.com/users/bacongobbler","html_url":"https://github.com/bacongobbler","followers_url":"https://api.github.com/users/bacongobbler/followers","following_url":"https://api.github.com/users/bacongobbler/following{/other_user}","gists_url":"https://api.github.com/users/bacongobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/bacongobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacongobbler/subscriptions","organizations_url":"https://api.github.com/users/bacongobbler/orgs","repos_url":"https://api.github.com/users/bacongobbler/repos","events_url":"https://api.github.com/users/bacongobbler/events{/privacy}","received_events_url":"https://api.github.com/users/bacongobbler/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/deis/deis.io/pulls/147/commits","review_comments_url":"https://api.github.com/repos/deis/deis.io/pulls/147/comments","review_comment_url":"https://api.github.com/repos/deis/deis.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deis/deis.io/issues/147/comments","statuses_url":"https://api.github.com/repos/deis/deis.io/statuses/67a7671ada30f2aa95f82261f55d81565bd9b29b","head":{"label":"rimusz:gh-pages","ref":"gh-pages","sha":"67a7671ada30f2aa95f82261f55d81565bd9b29b","user":{"login":"rimusz","id":5215395,"avatar_url":"https://avatars.githubusercontent.com/u/5215395?v=3","gravatar_id":"","url":"https://api.github.com/users/rimusz","html_url":"https://github.com/rimusz","followers_url":"https://api.github.com/users/rimusz/followers","following_url":"https://api.github.com/users/rimusz/following{/other_user}","gists_url":"https://api.github.com/users/rimusz/gists{/gist_id}","starred_url":"https://api.github.com/users/rimusz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimusz/subscriptions","organizations_url":"https://api.github.com/users/rimusz/orgs","repos_url":"https://api.github.com/users/rimusz/repos","events_url":"https://api.github.com/users/rimusz/events{/privacy}","received_events_url":"https://api.github.com/users/rimusz/received_events","type":"User","site_admin":false},"repo":{"id":52625705,"name":"deis.io","full_name":"rimusz/deis.io","owner":{"login":"rimusz","id":5215395,"avatar_url":"https://avatars.githubusercontent.com/u/5215395?v=3","gravatar_id":"","url":"https://api.github.com/users/rimusz","html_url":"https://github.com/rimusz","followers_url":"https://api.github.com/users/rimusz/followers","following_url":"https://api.github.com/users/rimusz/following{/other_user}","gists_url":"https://api.github.com/users/rimusz/gists{/gist_id}","starred_url":"https://api.github.com/users/rimusz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimusz/subscriptions","organizations_url":"https://api.github.com/users/rimusz/orgs","repos_url":"https://api.github.com/users/rimusz/repos","events_url":"https://api.github.com/users/rimusz/events{/privacy}","received_events_url":"https://api.github.com/users/rimusz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rimusz/deis.io","description":"Public website for the Deis project","fork":true,"url":"https://api.github.com/repos/rimusz/deis.io","forks_url":"https://api.github.com/repos/rimusz/deis.io/forks","keys_url":"https://api.github.com/repos/rimusz/deis.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rimusz/deis.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rimusz/deis.io/teams","hooks_url":"https://api.github.com/repos/rimusz/deis.io/hooks","issue_events_url":"https://api.github.com/repos/rimusz/deis.io/issues/events{/number}","events_url":"https://api.github.com/repos/rimusz/deis.io/events","assignees_url":"https://api.github.com/repos/rimusz/deis.io/assignees{/user}","branches_url":"https://api.github.com/repos/rimusz/deis.io/branches{/branch}","tags_url":"https://api.github.com/repos/rimusz/deis.io/tags","blobs_url":"https://api.github.com/repos/rimusz/deis.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rimusz/deis.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rimusz/deis.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/rimusz/deis.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rimusz/deis.io/statuses/{sha}","languages_url":"https://api.github.com/repos/rimusz/deis.io/languages","stargazers_url":"https://api.github.com/repos/rimusz/deis.io/stargazers","contributors_url":"https://api.github.com/repos/rimusz/deis.io/contributors","subscribers_url":"https://api.github.com/repos/rimusz/deis.io/subscribers","subscription_url":"https://api.github.com/repos/rimusz/deis.io/subscription","commits_url":"https://api.github.com/repos/rimusz/deis.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/rimusz/deis.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/rimusz/deis.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/rimusz/deis.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/rimusz/deis.io/contents/{+path}","compare_url":"https://api.github.com/repos/rimusz/deis.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rimusz/deis.io/merges","archive_url":"https://api.github.com/repos/rimusz/deis.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rimusz/deis.io/downloads","issues_url":"https://api.github.com/repos/rimusz/deis.io/issues{/number}","pulls_url":"https://api.github.com/repos/rimusz/deis.io/pulls{/number}","milestones_url":"https://api.github.com/repos/rimusz/deis.io/milestones{/number}","notifications_url":"https://api.github.com/repos/rimusz/deis.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rimusz/deis.io/labels{/name}","releases_url":"https://api.github.com/repos/rimusz/deis.io/releases{/id}","deployments_url":"https://api.github.com/repos/rimusz/deis.io/deployments","created_at":"2016-02-26T18:55:06Z","updated_at":"2016-02-26T18:55:07Z","pushed_at":"2016-02-29T13:47:07Z","git_url":"git://github.com/rimusz/deis.io.git","ssh_url":"git@github.com:rimusz/deis.io.git","clone_url":"https://github.com/rimusz/deis.io.git","svn_url":"https://github.com/rimusz/deis.io","homepage":"http://deis.io/","size":3095,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"deis:gh-pages","ref":"gh-pages","sha":"7f9f8522c31f3d2a4eb94be8c7a271607327c4d0","user":{"login":"deis","id":6117407,"avatar_url":"https://avatars.githubusercontent.com/u/6117407?v=3","gravatar_id":"","url":"https://api.github.com/users/deis","html_url":"https://github.com/deis","followers_url":"https://api.github.com/users/deis/followers","following_url":"https://api.github.com/users/deis/following{/other_user}","gists_url":"https://api.github.com/users/deis/gists{/gist_id}","starred_url":"https://api.github.com/users/deis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deis/subscriptions","organizations_url":"https://api.github.com/users/deis/orgs","repos_url":"https://api.github.com/users/deis/repos","events_url":"https://api.github.com/users/deis/events{/privacy}","received_events_url":"https://api.github.com/users/deis/received_events","type":"Organization","site_admin":false},"repo":{"id":19245490,"name":"deis.io","full_name":"deis/deis.io","owner":{"login":"deis","id":6117407,"avatar_url":"https://avatars.githubusercontent.com/u/6117407?v=3","gravatar_id":"","url":"https://api.github.com/users/deis","html_url":"https://github.com/deis","followers_url":"https://api.github.com/users/deis/followers","following_url":"https://api.github.com/users/deis/following{/other_user}","gists_url":"https://api.github.com/users/deis/gists{/gist_id}","starred_url":"https://api.github.com/users/deis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deis/subscriptions","organizations_url":"https://api.github.com/users/deis/orgs","repos_url":"https://api.github.com/users/deis/repos","events_url":"https://api.github.com/users/deis/events{/privacy}","received_events_url":"https://api.github.com/users/deis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/deis/deis.io","description":"Public website for the Deis project","fork":false,"url":"https://api.github.com/repos/deis/deis.io","forks_url":"https://api.github.com/repos/deis/deis.io/forks","keys_url":"https://api.github.com/repos/deis/deis.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deis/deis.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deis/deis.io/teams","hooks_url":"https://api.github.com/repos/deis/deis.io/hooks","issue_events_url":"https://api.github.com/repos/deis/deis.io/issues/events{/number}","events_url":"https://api.github.com/repos/deis/deis.io/events","assignees_url":"https://api.github.com/repos/deis/deis.io/assignees{/user}","branches_url":"https://api.github.com/repos/deis/deis.io/branches{/branch}","tags_url":"https://api.github.com/repos/deis/deis.io/tags","blobs_url":"https://api.github.com/repos/deis/deis.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deis/deis.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deis/deis.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/deis/deis.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deis/deis.io/statuses/{sha}","languages_url":"https://api.github.com/repos/deis/deis.io/languages","stargazers_url":"https://api.github.com/repos/deis/deis.io/stargazers","contributors_url":"https://api.github.com/repos/deis/deis.io/contributors","subscribers_url":"https://api.github.com/repos/deis/deis.io/subscribers","subscription_url":"https://api.github.com/repos/deis/deis.io/subscription","commits_url":"https://api.github.com/repos/deis/deis.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/deis/deis.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/deis/deis.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/deis/deis.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/deis/deis.io/contents/{+path}","compare_url":"https://api.github.com/repos/deis/deis.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deis/deis.io/merges","archive_url":"https://api.github.com/repos/deis/deis.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deis/deis.io/downloads","issues_url":"https://api.github.com/repos/deis/deis.io/issues{/number}","pulls_url":"https://api.github.com/repos/deis/deis.io/pulls{/number}","milestones_url":"https://api.github.com/repos/deis/deis.io/milestones{/number}","notifications_url":"https://api.github.com/repos/deis/deis.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deis/deis.io/labels{/name}","releases_url":"https://api.github.com/repos/deis/deis.io/releases{/id}","deployments_url":"https://api.github.com/repos/deis/deis.io/deployments","created_at":"2014-04-28T16:26:17Z","updated_at":"2016-02-26T18:54:49Z","pushed_at":"2016-02-29T13:47:07Z","git_url":"git://github.com/deis/deis.io.git","ssh_url":"git@github.com:deis/deis.io.git","clone_url":"https://github.com/deis/deis.io.git","svn_url":"https://github.com/deis/deis.io","homepage":"http://deis.io/","size":3146,"stargazers_count":24,"watchers_count":24,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":38,"mirror_url":null,"open_issues_count":5,"forks":38,"open_issues":5,"watchers":24,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/deis/deis.io/pulls/147"},"html":{"href":"https://github.com/deis/deis.io/pull/147"},"issue":{"href":"https://api.github.com/repos/deis/deis.io/issues/147"},"comments":{"href":"https://api.github.com/repos/deis/deis.io/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/deis/deis.io/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/deis/deis.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deis/deis.io/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/deis/deis.io/statuses/67a7671ada30f2aa95f82261f55d81565bd9b29b"}}}}