{"action":"created","comment":{"url":"https://api.github.com/repos/Hexxeh/rpi-update/pulls/comments/78186725","id":78186725,"diff_hunk":"@@ -115,10 +115,39 @@ function update_sdk {\n }\n \n function show_notice {\n-\tlocal NOTICE=`curl -Lfs https://raw.githubusercontent.com/hexxeh/rpi-firmware/${FW_REV}/NOTICE.md`\n+\tlocal FULL_NOTICE=`curl -Lfs https://raw.githubusercontent.com/hexxeh/rpi-firmware/${FW_REV}/NOTICE.md`\n+\tlocal NOTICE=$(echo \"$FULL_NOTICE\" | tail -n+2)\n \tif [ -z \"$NOTICE\" ]; then","path":"rpi-update","position":7,"original_position":7,"commit_id":"f5b32bfa3e39cd4ac20514f808991062b097eea5","original_commit_id":"f5b32bfa3e39cd4ac20514f808991062b097eea5","user":{"login":"lurch","id":476186,"avatar_url":"https://avatars.githubusercontent.com/u/476186?v=3","gravatar_id":"","url":"https://api.github.com/users/lurch","html_url":"https://github.com/lurch","followers_url":"https://api.github.com/users/lurch/followers","following_url":"https://api.github.com/users/lurch/following{/other_user}","gists_url":"https://api.github.com/users/lurch/gists{/gist_id}","starred_url":"https://api.github.com/users/lurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lurch/subscriptions","organizations_url":"https://api.github.com/users/lurch/orgs","repos_url":"https://api.github.com/users/lurch/repos","events_url":"https://api.github.com/users/lurch/events{/privacy}","received_events_url":"https://api.github.com/users/lurch/received_events","type":"User","site_admin":false},"body":"I wonder if this should be checking $FULL_NOTICE instead of $NOTICE ?\r\nI think as it is currently, it wouldn't display the NOTICE if it was only one line long?","created_at":"2016-09-09T14:13:17Z","updated_at":"2016-09-09T14:13:17Z","html_url":"https://github.com/Hexxeh/rpi-update/pull/180#discussion_r78186725","pull_request_url":"https://api.github.com/repos/Hexxeh/rpi-update/pulls/180","_links":{"self":{"href":"https://api.github.com/repos/Hexxeh/rpi-update/pulls/comments/78186725"},"html":{"href":"https://github.com/Hexxeh/rpi-update/pull/180#discussion_r78186725"},"pull_request":{"href":"https://api.github.com/repos/Hexxeh/rpi-update/pulls/180"}}},"pull_request":{"url":"https://api.github.com/repos/Hexxeh/rpi-update/pulls/180","id":38331364,"html_url":"https://github.com/Hexxeh/rpi-update/pull/180","diff_url":"https://github.com/Hexxeh/rpi-update/pull/180.diff","patch_url":"https://github.com/Hexxeh/rpi-update/pull/180.patch","issue_url":"https://api.github.com/repos/Hexxeh/rpi-update/issues/180","number":180,"state":"open","locked":false,"title":"check kernel version and issue warning if necessary","user":{"login":"shrx","id":810337,"avatar_url":"https://avatars.githubusercontent.com/u/810337?v=3","gravatar_id":"","url":"https://api.github.com/users/shrx","html_url":"https://github.com/shrx","followers_url":"https://api.github.com/users/shrx/followers","following_url":"https://api.github.com/users/shrx/following{/other_user}","gists_url":"https://api.github.com/users/shrx/gists{/gist_id}","starred_url":"https://api.github.com/users/shrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shrx/subscriptions","organizations_url":"https://api.github.com/users/shrx/orgs","repos_url":"https://api.github.com/users/shrx/repos","events_url":"https://api.github.com/users/shrx/events{/privacy}","received_events_url":"https://api.github.com/users/shrx/received_events","type":"User","site_admin":false},"body":"Fixes #178\r\nfor real this time","created_at":"2015-06-23T12:37:15Z","updated_at":"2016-09-09T14:13:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7f2ba421295946d66a53f14a2a4318145003f08","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Hexxeh/rpi-update/pulls/180/commits","review_comments_url":"https://api.github.com/repos/Hexxeh/rpi-update/pulls/180/comments","review_comment_url":"https://api.github.com/repos/Hexxeh/rpi-update/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hexxeh/rpi-update/issues/180/comments","statuses_url":"https://api.github.com/repos/Hexxeh/rpi-update/statuses/f5b32bfa3e39cd4ac20514f808991062b097eea5","head":{"label":"shrx:patch-2","ref":"patch-2","sha":"f5b32bfa3e39cd4ac20514f808991062b097eea5","user":{"login":"shrx","id":810337,"avatar_url":"https://avatars.githubusercontent.com/u/810337?v=3","gravatar_id":"","url":"https://api.github.com/users/shrx","html_url":"https://github.com/shrx","followers_url":"https://api.github.com/users/shrx/followers","following_url":"https://api.github.com/users/shrx/following{/other_user}","gists_url":"https://api.github.com/users/shrx/gists{/gist_id}","starred_url":"https://api.github.com/users/shrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shrx/subscriptions","organizations_url":"https://api.github.com/users/shrx/orgs","repos_url":"https://api.github.com/users/shrx/repos","events_url":"https://api.github.com/users/shrx/events{/privacy}","received_events_url":"https://api.github.com/users/shrx/received_events","type":"User","site_admin":false},"repo":{"id":37916545,"name":"rpi-update","full_name":"shrx/rpi-update","owner":{"login":"shrx","id":810337,"avatar_url":"https://avatars.githubusercontent.com/u/810337?v=3","gravatar_id":"","url":"https://api.github.com/users/shrx","html_url":"https://github.com/shrx","followers_url":"https://api.github.com/users/shrx/followers","following_url":"https://api.github.com/users/shrx/following{/other_user}","gists_url":"https://api.github.com/users/shrx/gists{/gist_id}","starred_url":"https://api.github.com/users/shrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shrx/subscriptions","organizations_url":"https://api.github.com/users/shrx/orgs","repos_url":"https://api.github.com/users/shrx/repos","events_url":"https://api.github.com/users/shrx/events{/privacy}","received_events_url":"https://api.github.com/users/shrx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shrx/rpi-update","description":"An easier way to update the firmware of your Raspberry Pi","fork":true,"url":"https://api.github.com/repos/shrx/rpi-update","forks_url":"https://api.github.com/repos/shrx/rpi-update/forks","keys_url":"https://api.github.com/repos/shrx/rpi-update/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shrx/rpi-update/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shrx/rpi-update/teams","hooks_url":"https://api.github.com/repos/shrx/rpi-update/hooks","issue_events_url":"https://api.github.com/repos/shrx/rpi-update/issues/events{/number}","events_url":"https://api.github.com/repos/shrx/rpi-update/events","assignees_url":"https://api.github.com/repos/shrx/rpi-update/assignees{/user}","branches_url":"https://api.github.com/repos/shrx/rpi-update/branches{/branch}","tags_url":"https://api.github.com/repos/shrx/rpi-update/tags","blobs_url":"https://api.github.com/repos/shrx/rpi-update/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shrx/rpi-update/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shrx/rpi-update/git/refs{/sha}","trees_url":"https://api.github.com/repos/shrx/rpi-update/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shrx/rpi-update/statuses/{sha}","languages_url":"https://api.github.com/repos/shrx/rpi-update/languages","stargazers_url":"https://api.github.com/repos/shrx/rpi-update/stargazers","contributors_url":"https://api.github.com/repos/shrx/rpi-update/contributors","subscribers_url":"https://api.github.com/repos/shrx/rpi-update/subscribers","subscription_url":"https://api.github.com/repos/shrx/rpi-update/subscription","commits_url":"https://api.github.com/repos/shrx/rpi-update/commits{/sha}","git_commits_url":"https://api.github.com/repos/shrx/rpi-update/git/commits{/sha}","comments_url":"https://api.github.com/repos/shrx/rpi-update/comments{/number}","issue_comment_url":"https://api.github.com/repos/shrx/rpi-update/issues/comments{/number}","contents_url":"https://api.github.com/repos/shrx/rpi-update/contents/{+path}","compare_url":"https://api.github.com/repos/shrx/rpi-update/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shrx/rpi-update/merges","archive_url":"https://api.github.com/repos/shrx/rpi-update/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shrx/rpi-update/downloads","issues_url":"https://api.github.com/repos/shrx/rpi-update/issues{/number}","pulls_url":"https://api.github.com/repos/shrx/rpi-update/pulls{/number}","milestones_url":"https://api.github.com/repos/shrx/rpi-update/milestones{/number}","notifications_url":"https://api.github.com/repos/shrx/rpi-update/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shrx/rpi-update/labels{/name}","releases_url":"https://api.github.com/repos/shrx/rpi-update/releases{/id}","deployments_url":"https://api.github.com/repos/shrx/rpi-update/deployments","created_at":"2015-06-23T12:06:29Z","updated_at":"2015-06-23T12:06:29Z","pushed_at":"2016-07-26T10:12:31Z","git_url":"git://github.com/shrx/rpi-update.git","ssh_url":"git@github.com:shrx/rpi-update.git","clone_url":"https://github.com/shrx/rpi-update.git","svn_url":"https://github.com/shrx/rpi-update","homepage":null,"size":92,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Hexxeh:master","ref":"master","sha":"65564edc0e7a9da311c7c9604243fdc762cbf824","user":{"login":"Hexxeh","id":297420,"avatar_url":"https://avatars.githubusercontent.com/u/297420?v=3","gravatar_id":"","url":"https://api.github.com/users/Hexxeh","html_url":"https://github.com/Hexxeh","followers_url":"https://api.github.com/users/Hexxeh/followers","following_url":"https://api.github.com/users/Hexxeh/following{/other_user}","gists_url":"https://api.github.com/users/Hexxeh/gists{/gist_id}","starred_url":"https://api.github.com/users/Hexxeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hexxeh/subscriptions","organizations_url":"https://api.github.com/users/Hexxeh/orgs","repos_url":"https://api.github.com/users/Hexxeh/repos","events_url":"https://api.github.com/users/Hexxeh/events{/privacy}","received_events_url":"https://api.github.com/users/Hexxeh/received_events","type":"User","site_admin":false},"repo":{"id":4095808,"name":"rpi-update","full_name":"Hexxeh/rpi-update","owner":{"login":"Hexxeh","id":297420,"avatar_url":"https://avatars.githubusercontent.com/u/297420?v=3","gravatar_id":"","url":"https://api.github.com/users/Hexxeh","html_url":"https://github.com/Hexxeh","followers_url":"https://api.github.com/users/Hexxeh/followers","following_url":"https://api.github.com/users/Hexxeh/following{/other_user}","gists_url":"https://api.github.com/users/Hexxeh/gists{/gist_id}","starred_url":"https://api.github.com/users/Hexxeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hexxeh/subscriptions","organizations_url":"https://api.github.com/users/Hexxeh/orgs","repos_url":"https://api.github.com/users/Hexxeh/repos","events_url":"https://api.github.com/users/Hexxeh/events{/privacy}","received_events_url":"https://api.github.com/users/Hexxeh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hexxeh/rpi-update","description":"An easier way to update the firmware of your Raspberry Pi","fork":false,"url":"https://api.github.com/repos/Hexxeh/rpi-update","forks_url":"https://api.github.com/repos/Hexxeh/rpi-update/forks","keys_url":"https://api.github.com/repos/Hexxeh/rpi-update/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hexxeh/rpi-update/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hexxeh/rpi-update/teams","hooks_url":"https://api.github.com/repos/Hexxeh/rpi-update/hooks","issue_events_url":"https://api.github.com/repos/Hexxeh/rpi-update/issues/events{/number}","events_url":"https://api.github.com/repos/Hexxeh/rpi-update/events","assignees_url":"https://api.github.com/repos/Hexxeh/rpi-update/assignees{/user}","branches_url":"https://api.github.com/repos/Hexxeh/rpi-update/branches{/branch}","tags_url":"https://api.github.com/repos/Hexxeh/rpi-update/tags","blobs_url":"https://api.github.com/repos/Hexxeh/rpi-update/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hexxeh/rpi-update/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hexxeh/rpi-update/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hexxeh/rpi-update/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hexxeh/rpi-update/statuses/{sha}","languages_url":"https://api.github.com/repos/Hexxeh/rpi-update/languages","stargazers_url":"https://api.github.com/repos/Hexxeh/rpi-update/stargazers","contributors_url":"https://api.github.com/repos/Hexxeh/rpi-update/contributors","subscribers_url":"https://api.github.com/repos/Hexxeh/rpi-update/subscribers","subscription_url":"https://api.github.com/repos/Hexxeh/rpi-update/subscription","commits_url":"https://api.github.com/repos/Hexxeh/rpi-update/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hexxeh/rpi-update/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hexxeh/rpi-update/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hexxeh/rpi-update/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hexxeh/rpi-update/contents/{+path}","compare_url":"https://api.github.com/repos/Hexxeh/rpi-update/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hexxeh/rpi-update/merges","archive_url":"https://api.github.com/repos/Hexxeh/rpi-update/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hexxeh/rpi-update/downloads","issues_url":"https://api.github.com/repos/Hexxeh/rpi-update/issues{/number}","pulls_url":"https://api.github.com/repos/Hexxeh/rpi-update/pulls{/number}","milestones_url":"https://api.github.com/repos/Hexxeh/rpi-update/milestones{/number}","notifications_url":"https://api.github.com/repos/Hexxeh/rpi-update/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hexxeh/rpi-update/labels{/name}","releases_url":"https://api.github.com/repos/Hexxeh/rpi-update/releases{/id}","deployments_url":"https://api.github.com/repos/Hexxeh/rpi-update/deployments","created_at":"2012-04-21T12:02:33Z","updated_at":"2016-09-08T06:43:07Z","pushed_at":"2016-08-30T18:59:49Z","git_url":"git://github.com/Hexxeh/rpi-update.git","ssh_url":"git@github.com:Hexxeh/rpi-update.git","clone_url":"https://github.com/Hexxeh/rpi-update.git","svn_url":"https://github.com/Hexxeh/rpi-update","homepage":null,"size":186,"stargazers_count":1379,"watchers_count":1379,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":147,"mirror_url":null,"open_issues_count":14,"forks":147,"open_issues":14,"watchers":1379,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hexxeh/rpi-update/pulls/180"},"html":{"href":"https://github.com/Hexxeh/rpi-update/pull/180"},"issue":{"href":"https://api.github.com/repos/Hexxeh/rpi-update/issues/180"},"comments":{"href":"https://api.github.com/repos/Hexxeh/rpi-update/issues/180/comments"},"review_comments":{"href":"https://api.github.com/repos/Hexxeh/rpi-update/pulls/180/comments"},"review_comment":{"href":"https://api.github.com/repos/Hexxeh/rpi-update/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hexxeh/rpi-update/pulls/180/commits"},"statuses":{"href":"https://api.github.com/repos/Hexxeh/rpi-update/statuses/f5b32bfa3e39cd4ac20514f808991062b097eea5"}}}}
{"actor":{"display_login":"lurch"}}