{"action":"created","comment":{"url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls/comments/206900599","pull_request_review_id":142402762,"id":206900599,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjkwMDU5OQ==","diff_hunk":"@@ -1,18 +1,18 @@\n #!/bin/bash\n \n-#Repository add - confirm required repoistor(ies) are enabled and active, update and upgrade no matter what\n-multiverse=\"http://archive.ubuntu.com/multiverse\"\n-if ! grep -q \"^deb .*$multiverse\"  /etc/apt/sources.list;\n-then\n-sudo add-apt-repository multiverse\n-\n # Check if we were effectively run as root\n [ $EUID = 0 ] || { echo \"This script needs to be run as root!\"; exit 1; }\n \n #Check for 1GB Memory\n totalk=$(awk '/^MemTotal:/{print $2}' /proc/meminfo)\n if [ \"$totalk\" -lt \"1000000\" ]; then echo \"XOCE Requires at least 1GB Memory!\"; exit 1; fi \n \n+# Repository add - confirm required repoistor(ies) are enabled and active, update and upgrade no matter what\n+multiverse=\"http://archive.ubuntu.com/multiverse\"","path":"xo_install.sh","position":16,"original_position":17,"commit_id":"90965ab4ec6c4559c5b42a3209f865ffc45f45db","original_commit_id":"90965ab4ec6c4559c5b42a3209f865ffc45f45db","user":{"login":"Jarli01","id":14837699,"node_id":"MDQ6VXNlcjE0ODM3Njk5","avatar_url":"https://avatars2.githubusercontent.com/u/14837699?v=4","gravatar_id":"","url":"https://api.github.com/users/Jarli01","html_url":"https://github.com/Jarli01","followers_url":"https://api.github.com/users/Jarli01/followers","following_url":"https://api.github.com/users/Jarli01/following{/other_user}","gists_url":"https://api.github.com/users/Jarli01/gists{/gist_id}","starred_url":"https://api.github.com/users/Jarli01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jarli01/subscriptions","organizations_url":"https://api.github.com/users/Jarli01/orgs","repos_url":"https://api.github.com/users/Jarli01/repos","events_url":"https://api.github.com/users/Jarli01/events{/privacy}","received_events_url":"https://api.github.com/users/Jarli01/received_events","type":"User","site_admin":false},"body":"There can be multiple lines that need multiverse, from the link you posted and one I found the variable adds it to multiple lines within the sources.list file. \r\n\r\nIt works, but I kind of think it's a bad work around in general. \r\n\r\nChecking for dependencies I think would be the best approach, and stop if not found. On the other hand, single line install has always been a big feature of the installation script. (which really should only need to be run once)","created_at":"2018-08-01T14:25:16Z","updated_at":"2018-08-01T14:25:16Z","html_url":"https://github.com/Jarli01/xenorchestra_installer/pull/26#discussion_r206900599","pull_request_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls/26","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls/comments/206900599"},"html":{"href":"https://github.com/Jarli01/xenorchestra_installer/pull/26#discussion_r206900599"},"pull_request":{"href":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls/26"}},"in_reply_to_id":206690918},"pull_request":{"url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls/26","id":205246628,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MjQ2NjI4","html_url":"https://github.com/Jarli01/xenorchestra_installer/pull/26","diff_url":"https://github.com/Jarli01/xenorchestra_installer/pull/26.diff","patch_url":"https://github.com/Jarli01/xenorchestra_installer/pull/26.patch","issue_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/issues/26","number":26,"state":"open","locked":false,"title":"Repo Check for Multiverse","user":{"login":"Jarli01","id":14837699,"node_id":"MDQ6VXNlcjE0ODM3Njk5","avatar_url":"https://avatars2.githubusercontent.com/u/14837699?v=4","gravatar_id":"","url":"https://api.github.com/users/Jarli01","html_url":"https://github.com/Jarli01","followers_url":"https://api.github.com/users/Jarli01/followers","following_url":"https://api.github.com/users/Jarli01/following{/other_user}","gists_url":"https://api.github.com/users/Jarli01/gists{/gist_id}","starred_url":"https://api.github.com/users/Jarli01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jarli01/subscriptions","organizations_url":"https://api.github.com/users/Jarli01/orgs","repos_url":"https://api.github.com/users/Jarli01/repos","events_url":"https://api.github.com/users/Jarli01/events{/privacy}","received_events_url":"https://api.github.com/users/Jarli01/received_events","type":"User","site_admin":false},"body":"Works on Ubuntu 18.04.1-live, will test against Debain 9 and an Alternative download (full) from Ubuntu's website. \r\n\r\nTesting welcome. ","created_at":"2018-07-31T21:23:55Z","updated_at":"2018-08-01T14:25:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af14501f7bf979da06da3a9da10853ad03e9d8ef","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls/26/commits","review_comments_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls/26/comments","review_comment_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/issues/26/comments","statuses_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/statuses/90965ab4ec6c4559c5b42a3209f865ffc45f45db","head":{"label":"Jarli01:Multiverse-check","ref":"Multiverse-check","sha":"90965ab4ec6c4559c5b42a3209f865ffc45f45db","user":{"login":"Jarli01","id":14837699,"node_id":"MDQ6VXNlcjE0ODM3Njk5","avatar_url":"https://avatars2.githubusercontent.com/u/14837699?v=4","gravatar_id":"","url":"https://api.github.com/users/Jarli01","html_url":"https://github.com/Jarli01","followers_url":"https://api.github.com/users/Jarli01/followers","following_url":"https://api.github.com/users/Jarli01/following{/other_user}","gists_url":"https://api.github.com/users/Jarli01/gists{/gist_id}","starred_url":"https://api.github.com/users/Jarli01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jarli01/subscriptions","organizations_url":"https://api.github.com/users/Jarli01/orgs","repos_url":"https://api.github.com/users/Jarli01/repos","events_url":"https://api.github.com/users/Jarli01/events{/privacy}","received_events_url":"https://api.github.com/users/Jarli01/received_events","type":"User","site_admin":false},"repo":{"id":53442854,"node_id":"MDEwOlJlcG9zaXRvcnk1MzQ0Mjg1NA==","name":"xenorchestra_installer","full_name":"Jarli01/xenorchestra_installer","owner":{"login":"Jarli01","id":14837699,"node_id":"MDQ6VXNlcjE0ODM3Njk5","avatar_url":"https://avatars2.githubusercontent.com/u/14837699?v=4","gravatar_id":"","url":"https://api.github.com/users/Jarli01","html_url":"https://github.com/Jarli01","followers_url":"https://api.github.com/users/Jarli01/followers","following_url":"https://api.github.com/users/Jarli01/following{/other_user}","gists_url":"https://api.github.com/users/Jarli01/gists{/gist_id}","starred_url":"https://api.github.com/users/Jarli01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jarli01/subscriptions","organizations_url":"https://api.github.com/users/Jarli01/orgs","repos_url":"https://api.github.com/users/Jarli01/repos","events_url":"https://api.github.com/users/Jarli01/events{/privacy}","received_events_url":"https://api.github.com/users/Jarli01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jarli01/xenorchestra_installer","description":"A simple install script for Xen Orchestra","fork":false,"url":"https://api.github.com/repos/Jarli01/xenorchestra_installer","forks_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/forks","keys_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/teams","hooks_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/hooks","issue_events_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/issues/events{/number}","events_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/events","assignees_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/assignees{/user}","branches_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/branches{/branch}","tags_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/tags","blobs_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/statuses/{sha}","languages_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/languages","stargazers_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/stargazers","contributors_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/contributors","subscribers_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/subscribers","subscription_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/subscription","commits_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/contents/{+path}","compare_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/merges","archive_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/downloads","issues_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/issues{/number}","pulls_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls{/number}","milestones_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/milestones{/number}","notifications_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/labels{/name}","releases_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/releases{/id}","deployments_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/deployments","created_at":"2016-03-08T20:27:52Z","updated_at":"2018-07-31T21:25:21Z","pushed_at":"2018-07-31T21:25:19Z","git_url":"git://github.com/Jarli01/xenorchestra_installer.git","ssh_url":"git@github.com:Jarli01/xenorchestra_installer.git","clone_url":"https://github.com/Jarli01/xenorchestra_installer.git","svn_url":"https://github.com/Jarli01/xenorchestra_installer","homepage":"","size":104,"stargazers_count":46,"watchers_count":46,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":23,"open_issues":3,"watchers":46,"default_branch":"master"}},"base":{"label":"Jarli01:master","ref":"master","sha":"6aa162aaaa328f47a0ea3d9a8e380f5ba5b9da3a","user":{"login":"Jarli01","id":14837699,"node_id":"MDQ6VXNlcjE0ODM3Njk5","avatar_url":"https://avatars2.githubusercontent.com/u/14837699?v=4","gravatar_id":"","url":"https://api.github.com/users/Jarli01","html_url":"https://github.com/Jarli01","followers_url":"https://api.github.com/users/Jarli01/followers","following_url":"https://api.github.com/users/Jarli01/following{/other_user}","gists_url":"https://api.github.com/users/Jarli01/gists{/gist_id}","starred_url":"https://api.github.com/users/Jarli01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jarli01/subscriptions","organizations_url":"https://api.github.com/users/Jarli01/orgs","repos_url":"https://api.github.com/users/Jarli01/repos","events_url":"https://api.github.com/users/Jarli01/events{/privacy}","received_events_url":"https://api.github.com/users/Jarli01/received_events","type":"User","site_admin":false},"repo":{"id":53442854,"node_id":"MDEwOlJlcG9zaXRvcnk1MzQ0Mjg1NA==","name":"xenorchestra_installer","full_name":"Jarli01/xenorchestra_installer","owner":{"login":"Jarli01","id":14837699,"node_id":"MDQ6VXNlcjE0ODM3Njk5","avatar_url":"https://avatars2.githubusercontent.com/u/14837699?v=4","gravatar_id":"","url":"https://api.github.com/users/Jarli01","html_url":"https://github.com/Jarli01","followers_url":"https://api.github.com/users/Jarli01/followers","following_url":"https://api.github.com/users/Jarli01/following{/other_user}","gists_url":"https://api.github.com/users/Jarli01/gists{/gist_id}","starred_url":"https://api.github.com/users/Jarli01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jarli01/subscriptions","organizations_url":"https://api.github.com/users/Jarli01/orgs","repos_url":"https://api.github.com/users/Jarli01/repos","events_url":"https://api.github.com/users/Jarli01/events{/privacy}","received_events_url":"https://api.github.com/users/Jarli01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jarli01/xenorchestra_installer","description":"A simple install script for Xen Orchestra","fork":false,"url":"https://api.github.com/repos/Jarli01/xenorchestra_installer","forks_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/forks","keys_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/teams","hooks_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/hooks","issue_events_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/issues/events{/number}","events_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/events","assignees_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/assignees{/user}","branches_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/branches{/branch}","tags_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/tags","blobs_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/statuses/{sha}","languages_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/languages","stargazers_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/stargazers","contributors_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/contributors","subscribers_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/subscribers","subscription_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/subscription","commits_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/contents/{+path}","compare_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/merges","archive_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/downloads","issues_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/issues{/number}","pulls_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls{/number}","milestones_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/milestones{/number}","notifications_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/labels{/name}","releases_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/releases{/id}","deployments_url":"https://api.github.com/repos/Jarli01/xenorchestra_installer/deployments","created_at":"2016-03-08T20:27:52Z","updated_at":"2018-07-31T21:25:21Z","pushed_at":"2018-07-31T21:25:19Z","git_url":"git://github.com/Jarli01/xenorchestra_installer.git","ssh_url":"git@github.com:Jarli01/xenorchestra_installer.git","clone_url":"https://github.com/Jarli01/xenorchestra_installer.git","svn_url":"https://github.com/Jarli01/xenorchestra_installer","homepage":"","size":104,"stargazers_count":46,"watchers_count":46,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":23,"open_issues":3,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls/26"},"html":{"href":"https://github.com/Jarli01/xenorchestra_installer/pull/26"},"issue":{"href":"https://api.github.com/repos/Jarli01/xenorchestra_installer/issues/26"},"comments":{"href":"https://api.github.com/repos/Jarli01/xenorchestra_installer/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Jarli01/xenorchestra_installer/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/Jarli01/xenorchestra_installer/statuses/90965ab4ec6c4559c5b42a3209f865ffc45f45db"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Jarli01"}}