{"action":"created","comment":{"url":"https://api.github.com/repos/dnschneid/crouton/pulls/comments/32684263","id":32684263,"diff_hunk":"@@ -60,9 +60,14 @@ chmod 755 \"$tmp/ar\" \"$tmp/pkgdetails\"\n # want any files there. Create an empty tarball that it can extract.\n tar -czf \"$tmp/devices.tar.gz\" -T /dev/null\n \n+if [ ! -e $tmp/scripts/$RELEASE ] ;then\n+        ln -s $tmp/scripts/$BOOTSTRAP_RELEASE $tmp/scripts/$RELEASE\n+fi\n+\n # Grab the release and drop it into the subdirectory\n echo 'Downloading bootstrap files...' 1>&2\n PATH=\"$newpath\" DEBOOTSTRAP_DIR=\"$tmp\" $FAKEROOT \\\n     \"$tmp/debootstrap\" --foreign --arch=\"$ARCH\" \\\n-    \"${BOOTSTRAP_RELEASE:-\"$RELEASE\"}\" \\\n-                       \"$tmp/$subdir\" \"$MIRROR\" 1>&2\n+        $RELEASE \\","path":"installer/ubuntu/bootstrap","position":14,"original_position":14,"commit_id":"3ce1cfd9a48f9801aeeebb4b8e0c3f586aa5142b","original_commit_id":"3ce1cfd9a48f9801aeeebb4b8e0c3f586aa5142b","user":{"login":"dnschneid","id":522200,"avatar_url":"https://avatars.githubusercontent.com/u/522200?v=3","gravatar_id":"","url":"https://api.github.com/users/dnschneid","html_url":"https://github.com/dnschneid","followers_url":"https://api.github.com/users/dnschneid/followers","following_url":"https://api.github.com/users/dnschneid/following{/other_user}","gists_url":"https://api.github.com/users/dnschneid/gists{/gist_id}","starred_url":"https://api.github.com/users/dnschneid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnschneid/subscriptions","organizations_url":"https://api.github.com/users/dnschneid/orgs","repos_url":"https://api.github.com/users/dnschneid/repos","events_url":"https://api.github.com/users/dnschneid/events{/privacy}","received_events_url":"https://api.github.com/users/dnschneid/received_events","type":"User","site_admin":false},"body":"quote release, fix the indentation, and combine with the next line.","created_at":"2015-06-17T22:54:35Z","updated_at":"2015-06-17T22:54:35Z","html_url":"https://github.com/dnschneid/crouton/pull/1870#discussion_r32684263","pull_request_url":"https://api.github.com/repos/dnschneid/crouton/pulls/1870","_links":{"self":{"href":"https://api.github.com/repos/dnschneid/crouton/pulls/comments/32684263"},"html":{"href":"https://github.com/dnschneid/crouton/pull/1870#discussion_r32684263"},"pull_request":{"href":"https://api.github.com/repos/dnschneid/crouton/pulls/1870"}}},"pull_request":{"url":"https://api.github.com/repos/dnschneid/crouton/pulls/1870","id":37784786,"html_url":"https://github.com/dnschneid/crouton/pull/1870","diff_url":"https://github.com/dnschneid/crouton/pull/1870.diff","patch_url":"https://github.com/dnschneid/crouton/pull/1870.patch","issue_url":"https://api.github.com/repos/dnschneid/crouton/issues/1870","number":1870,"state":"open","locked":false,"title":"Improved bootstrapping","user":{"login":"tonyxue","id":2350816,"avatar_url":"https://avatars.githubusercontent.com/u/2350816?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyxue","html_url":"https://github.com/tonyxue","followers_url":"https://api.github.com/users/tonyxue/followers","following_url":"https://api.github.com/users/tonyxue/following{/other_user}","gists_url":"https://api.github.com/users/tonyxue/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyxue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyxue/subscriptions","organizations_url":"https://api.github.com/users/tonyxue/orgs","repos_url":"https://api.github.com/users/tonyxue/repos","events_url":"https://api.github.com/users/tonyxue/events{/privacy}","received_events_url":"https://api.github.com/users/tonyxue/received_events","type":"User","site_admin":false},"body":"This patch comes up because the directory structure of http.kali.org has changed. There is no directory called ```stable``` anymore. It is substituted by ```kali/```. However I think this can be a universal improvement as the implementation of bootstrapping kali we have currently only works for kali, not for other derived distros.\r\n\r\nThis fix has been part of my effort to add the Trisquel distro and it has been sleeping in [my fork](https://github.com/tonyxue/cruise/tree/trisquel) for quite a long time now. :P \r\n\r\nFixed according to #1868 ","created_at":"2015-06-16T11:28:35Z","updated_at":"2015-06-17T22:54:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c24ee8a6045f390be35207dcef04878cecf89382","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dnschneid/crouton/pulls/1870/commits","review_comments_url":"https://api.github.com/repos/dnschneid/crouton/pulls/1870/comments","review_comment_url":"https://api.github.com/repos/dnschneid/crouton/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dnschneid/crouton/issues/1870/comments","statuses_url":"https://api.github.com/repos/dnschneid/crouton/statuses/3ce1cfd9a48f9801aeeebb4b8e0c3f586aa5142b","head":{"label":"tonyxue:update_bootstrap","ref":"update_bootstrap","sha":"3ce1cfd9a48f9801aeeebb4b8e0c3f586aa5142b","user":{"login":"tonyxue","id":2350816,"avatar_url":"https://avatars.githubusercontent.com/u/2350816?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyxue","html_url":"https://github.com/tonyxue","followers_url":"https://api.github.com/users/tonyxue/followers","following_url":"https://api.github.com/users/tonyxue/following{/other_user}","gists_url":"https://api.github.com/users/tonyxue/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyxue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyxue/subscriptions","organizations_url":"https://api.github.com/users/tonyxue/orgs","repos_url":"https://api.github.com/users/tonyxue/repos","events_url":"https://api.github.com/users/tonyxue/events{/privacy}","received_events_url":"https://api.github.com/users/tonyxue/received_events","type":"User","site_admin":false},"repo":{"id":26245235,"name":"cruise","full_name":"tonyxue/cruise","owner":{"login":"tonyxue","id":2350816,"avatar_url":"https://avatars.githubusercontent.com/u/2350816?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyxue","html_url":"https://github.com/tonyxue","followers_url":"https://api.github.com/users/tonyxue/followers","following_url":"https://api.github.com/users/tonyxue/following{/other_user}","gists_url":"https://api.github.com/users/tonyxue/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyxue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyxue/subscriptions","organizations_url":"https://api.github.com/users/tonyxue/orgs","repos_url":"https://api.github.com/users/tonyxue/repos","events_url":"https://api.github.com/users/tonyxue/events{/privacy}","received_events_url":"https://api.github.com/users/tonyxue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tonyxue/cruise","description":"Chromium OS Universal Chroot Environment","fork":true,"url":"https://api.github.com/repos/tonyxue/cruise","forks_url":"https://api.github.com/repos/tonyxue/cruise/forks","keys_url":"https://api.github.com/repos/tonyxue/cruise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tonyxue/cruise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tonyxue/cruise/teams","hooks_url":"https://api.github.com/repos/tonyxue/cruise/hooks","issue_events_url":"https://api.github.com/repos/tonyxue/cruise/issues/events{/number}","events_url":"https://api.github.com/repos/tonyxue/cruise/events","assignees_url":"https://api.github.com/repos/tonyxue/cruise/assignees{/user}","branches_url":"https://api.github.com/repos/tonyxue/cruise/branches{/branch}","tags_url":"https://api.github.com/repos/tonyxue/cruise/tags","blobs_url":"https://api.github.com/repos/tonyxue/cruise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tonyxue/cruise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tonyxue/cruise/git/refs{/sha}","trees_url":"https://api.github.com/repos/tonyxue/cruise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tonyxue/cruise/statuses/{sha}","languages_url":"https://api.github.com/repos/tonyxue/cruise/languages","stargazers_url":"https://api.github.com/repos/tonyxue/cruise/stargazers","contributors_url":"https://api.github.com/repos/tonyxue/cruise/contributors","subscribers_url":"https://api.github.com/repos/tonyxue/cruise/subscribers","subscription_url":"https://api.github.com/repos/tonyxue/cruise/subscription","commits_url":"https://api.github.com/repos/tonyxue/cruise/commits{/sha}","git_commits_url":"https://api.github.com/repos/tonyxue/cruise/git/commits{/sha}","comments_url":"https://api.github.com/repos/tonyxue/cruise/comments{/number}","issue_comment_url":"https://api.github.com/repos/tonyxue/cruise/issues/comments{/number}","contents_url":"https://api.github.com/repos/tonyxue/cruise/contents/{+path}","compare_url":"https://api.github.com/repos/tonyxue/cruise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tonyxue/cruise/merges","archive_url":"https://api.github.com/repos/tonyxue/cruise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tonyxue/cruise/downloads","issues_url":"https://api.github.com/repos/tonyxue/cruise/issues{/number}","pulls_url":"https://api.github.com/repos/tonyxue/cruise/pulls{/number}","milestones_url":"https://api.github.com/repos/tonyxue/cruise/milestones{/number}","notifications_url":"https://api.github.com/repos/tonyxue/cruise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tonyxue/cruise/labels{/name}","releases_url":"https://api.github.com/repos/tonyxue/cruise/releases{/id}","created_at":"2014-11-05T23:48:05Z","updated_at":"2015-05-07T02:56:36Z","pushed_at":"2015-06-16T11:37:12Z","git_url":"git://github.com/tonyxue/cruise.git","ssh_url":"git@github.com:tonyxue/cruise.git","clone_url":"https://github.com/tonyxue/cruise.git","svn_url":"https://github.com/tonyxue/cruise","homepage":"https://goo.gl/fd3zc","size":4130,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"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":"dnschneid:master","ref":"master","sha":"91b3e3502da488cde504acfae21756799c552cc7","user":{"login":"dnschneid","id":522200,"avatar_url":"https://avatars.githubusercontent.com/u/522200?v=3","gravatar_id":"","url":"https://api.github.com/users/dnschneid","html_url":"https://github.com/dnschneid","followers_url":"https://api.github.com/users/dnschneid/followers","following_url":"https://api.github.com/users/dnschneid/following{/other_user}","gists_url":"https://api.github.com/users/dnschneid/gists{/gist_id}","starred_url":"https://api.github.com/users/dnschneid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnschneid/subscriptions","organizations_url":"https://api.github.com/users/dnschneid/orgs","repos_url":"https://api.github.com/users/dnschneid/repos","events_url":"https://api.github.com/users/dnschneid/events{/privacy}","received_events_url":"https://api.github.com/users/dnschneid/received_events","type":"User","site_admin":false},"repo":{"id":7229063,"name":"crouton","full_name":"dnschneid/crouton","owner":{"login":"dnschneid","id":522200,"avatar_url":"https://avatars.githubusercontent.com/u/522200?v=3","gravatar_id":"","url":"https://api.github.com/users/dnschneid","html_url":"https://github.com/dnschneid","followers_url":"https://api.github.com/users/dnschneid/followers","following_url":"https://api.github.com/users/dnschneid/following{/other_user}","gists_url":"https://api.github.com/users/dnschneid/gists{/gist_id}","starred_url":"https://api.github.com/users/dnschneid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnschneid/subscriptions","organizations_url":"https://api.github.com/users/dnschneid/orgs","repos_url":"https://api.github.com/users/dnschneid/repos","events_url":"https://api.github.com/users/dnschneid/events{/privacy}","received_events_url":"https://api.github.com/users/dnschneid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dnschneid/crouton","description":"Chromium OS Universal Chroot Environment","fork":false,"url":"https://api.github.com/repos/dnschneid/crouton","forks_url":"https://api.github.com/repos/dnschneid/crouton/forks","keys_url":"https://api.github.com/repos/dnschneid/crouton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dnschneid/crouton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dnschneid/crouton/teams","hooks_url":"https://api.github.com/repos/dnschneid/crouton/hooks","issue_events_url":"https://api.github.com/repos/dnschneid/crouton/issues/events{/number}","events_url":"https://api.github.com/repos/dnschneid/crouton/events","assignees_url":"https://api.github.com/repos/dnschneid/crouton/assignees{/user}","branches_url":"https://api.github.com/repos/dnschneid/crouton/branches{/branch}","tags_url":"https://api.github.com/repos/dnschneid/crouton/tags","blobs_url":"https://api.github.com/repos/dnschneid/crouton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dnschneid/crouton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dnschneid/crouton/git/refs{/sha}","trees_url":"https://api.github.com/repos/dnschneid/crouton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dnschneid/crouton/statuses/{sha}","languages_url":"https://api.github.com/repos/dnschneid/crouton/languages","stargazers_url":"https://api.github.com/repos/dnschneid/crouton/stargazers","contributors_url":"https://api.github.com/repos/dnschneid/crouton/contributors","subscribers_url":"https://api.github.com/repos/dnschneid/crouton/subscribers","subscription_url":"https://api.github.com/repos/dnschneid/crouton/subscription","commits_url":"https://api.github.com/repos/dnschneid/crouton/commits{/sha}","git_commits_url":"https://api.github.com/repos/dnschneid/crouton/git/commits{/sha}","comments_url":"https://api.github.com/repos/dnschneid/crouton/comments{/number}","issue_comment_url":"https://api.github.com/repos/dnschneid/crouton/issues/comments{/number}","contents_url":"https://api.github.com/repos/dnschneid/crouton/contents/{+path}","compare_url":"https://api.github.com/repos/dnschneid/crouton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dnschneid/crouton/merges","archive_url":"https://api.github.com/repos/dnschneid/crouton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dnschneid/crouton/downloads","issues_url":"https://api.github.com/repos/dnschneid/crouton/issues{/number}","pulls_url":"https://api.github.com/repos/dnschneid/crouton/pulls{/number}","milestones_url":"https://api.github.com/repos/dnschneid/crouton/milestones{/number}","notifications_url":"https://api.github.com/repos/dnschneid/crouton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dnschneid/crouton/labels{/name}","releases_url":"https://api.github.com/repos/dnschneid/crouton/releases{/id}","created_at":"2012-12-18T19:31:14Z","updated_at":"2015-06-17T21:27:16Z","pushed_at":"2015-06-16T11:37:12Z","git_url":"git://github.com/dnschneid/crouton.git","ssh_url":"git@github.com:dnschneid/crouton.git","clone_url":"https://github.com/dnschneid/crouton.git","svn_url":"https://github.com/dnschneid/crouton","homepage":"https://goo.gl/fd3zc","size":17279,"stargazers_count":3179,"watchers_count":3179,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":386,"mirror_url":null,"open_issues_count":241,"forks":386,"open_issues":241,"watchers":3179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dnschneid/crouton/pulls/1870"},"html":{"href":"https://github.com/dnschneid/crouton/pull/1870"},"issue":{"href":"https://api.github.com/repos/dnschneid/crouton/issues/1870"},"comments":{"href":"https://api.github.com/repos/dnschneid/crouton/issues/1870/comments"},"review_comments":{"href":"https://api.github.com/repos/dnschneid/crouton/pulls/1870/comments"},"review_comment":{"href":"https://api.github.com/repos/dnschneid/crouton/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dnschneid/crouton/pulls/1870/commits"},"statuses":{"href":"https://api.github.com/repos/dnschneid/crouton/statuses/3ce1cfd9a48f9801aeeebb4b8e0c3f586aa5142b"}}}}