{"action":"created","comment":{"url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls/comments/28697273","id":28697273,"diff_hunk":"@@ -251,4 +241,46 @@ uninstall () {\n     fi\n }\n \n+check_arch () {\n+\tarch=$(arch)","path":"install-spotify.sh","position":84,"original_position":84,"commit_id":"de132dc70dcb0aa279ed5ecc1d46935251fc07a9","original_commit_id":"de132dc70dcb0aa279ed5ecc1d46935251fc07a9","user":{"login":"aspiers","id":100738,"avatar_url":"https://avatars.githubusercontent.com/u/100738?v=3","gravatar_id":"","url":"https://api.github.com/users/aspiers","html_url":"https://github.com/aspiers","followers_url":"https://api.github.com/users/aspiers/followers","following_url":"https://api.github.com/users/aspiers/following{/other_user}","gists_url":"https://api.github.com/users/aspiers/gists{/gist_id}","starred_url":"https://api.github.com/users/aspiers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspiers/subscriptions","organizations_url":"https://api.github.com/users/aspiers/orgs","repos_url":"https://api.github.com/users/aspiers/repos","events_url":"https://api.github.com/users/aspiers/events{/privacy}","received_events_url":"https://api.github.com/users/aspiers/received_events","type":"User","site_admin":false},"body":"Again several lines of broken indentation.  Just view the pull request on github and you will see :-)","created_at":"2015-04-20T15:14:09Z","updated_at":"2015-04-20T15:14:09Z","html_url":"https://github.com/aspiers/opensuse-spotify-installer/pull/37#discussion_r28697273","pull_request_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls/comments/28697273"},"html":{"href":"https://github.com/aspiers/opensuse-spotify-installer/pull/37#discussion_r28697273"},"pull_request":{"href":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls/37","id":33566482,"html_url":"https://github.com/aspiers/opensuse-spotify-installer/pull/37","diff_url":"https://github.com/aspiers/opensuse-spotify-installer/pull/37.diff","patch_url":"https://github.com/aspiers/opensuse-spotify-installer/pull/37.patch","issue_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/issues/37","number":37,"state":"open","locked":false,"title":"Fetch SUSE and Spotify versions on the fly.","user":{"login":"dradtke","id":929204,"avatar_url":"https://avatars.githubusercontent.com/u/929204?v=3","gravatar_id":"","url":"https://api.github.com/users/dradtke","html_url":"https://github.com/dradtke","followers_url":"https://api.github.com/users/dradtke/followers","following_url":"https://api.github.com/users/dradtke/following{/other_user}","gists_url":"https://api.github.com/users/dradtke/gists{/gist_id}","starred_url":"https://api.github.com/users/dradtke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dradtke/subscriptions","organizations_url":"https://api.github.com/users/dradtke/orgs","repos_url":"https://api.github.com/users/dradtke/repos","events_url":"https://api.github.com/users/dradtke/events{/privacy}","received_events_url":"https://api.github.com/users/dradtke/received_events","type":"User","site_admin":false},"body":"This PR removes the hard-coded SUSE and Spotify versions, and instead parses `/etc/os-release` and `http://repository.spotify.com/pool/non-free/s/spotify` respectively at the time the installation is run. With these changes I was able to get Spotify installed on openSUSE 13.2, and I suspect that it will work for future versions as well.","created_at":"2015-04-17T17:47:59Z","updated_at":"2015-04-20T15:14:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e575d3f51eadee5ca31aeb5cc273dd92ebeeba3a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls/37/commits","review_comments_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls/37/comments","review_comment_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/issues/37/comments","statuses_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/statuses/de132dc70dcb0aa279ed5ecc1d46935251fc07a9","head":{"label":"dradtke:master","ref":"master","sha":"de132dc70dcb0aa279ed5ecc1d46935251fc07a9","user":{"login":"dradtke","id":929204,"avatar_url":"https://avatars.githubusercontent.com/u/929204?v=3","gravatar_id":"","url":"https://api.github.com/users/dradtke","html_url":"https://github.com/dradtke","followers_url":"https://api.github.com/users/dradtke/followers","following_url":"https://api.github.com/users/dradtke/following{/other_user}","gists_url":"https://api.github.com/users/dradtke/gists{/gist_id}","starred_url":"https://api.github.com/users/dradtke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dradtke/subscriptions","organizations_url":"https://api.github.com/users/dradtke/orgs","repos_url":"https://api.github.com/users/dradtke/repos","events_url":"https://api.github.com/users/dradtke/events{/privacy}","received_events_url":"https://api.github.com/users/dradtke/received_events","type":"User","site_admin":false},"repo":{"id":34127055,"name":"opensuse-spotify-installer","full_name":"dradtke/opensuse-spotify-installer","owner":{"login":"dradtke","id":929204,"avatar_url":"https://avatars.githubusercontent.com/u/929204?v=3","gravatar_id":"","url":"https://api.github.com/users/dradtke","html_url":"https://github.com/dradtke","followers_url":"https://api.github.com/users/dradtke/followers","following_url":"https://api.github.com/users/dradtke/following{/other_user}","gists_url":"https://api.github.com/users/dradtke/gists{/gist_id}","starred_url":"https://api.github.com/users/dradtke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dradtke/subscriptions","organizations_url":"https://api.github.com/users/dradtke/orgs","repos_url":"https://api.github.com/users/dradtke/repos","events_url":"https://api.github.com/users/dradtke/events{/privacy}","received_events_url":"https://api.github.com/users/dradtke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dradtke/opensuse-spotify-installer","description":"Automate installation of Spotify on openSUSE","fork":true,"url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer","forks_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/forks","keys_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/teams","hooks_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/hooks","issue_events_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/issues/events{/number}","events_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/events","assignees_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/assignees{/user}","branches_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/branches{/branch}","tags_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/tags","blobs_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/statuses/{sha}","languages_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/languages","stargazers_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/stargazers","contributors_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/contributors","subscribers_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/subscribers","subscription_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/subscription","commits_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/issues/comments{/number}","contents_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/contents/{+path}","compare_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/merges","archive_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/downloads","issues_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/issues{/number}","pulls_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/pulls{/number}","milestones_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/milestones{/number}","notifications_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/labels{/name}","releases_url":"https://api.github.com/repos/dradtke/opensuse-spotify-installer/releases{/id}","created_at":"2015-04-17T16:24:19Z","updated_at":"2015-04-18T17:02:31Z","pushed_at":"2015-04-18T17:02:31Z","git_url":"git://github.com/dradtke/opensuse-spotify-installer.git","ssh_url":"git@github.com:dradtke/opensuse-spotify-installer.git","clone_url":"https://github.com/dradtke/opensuse-spotify-installer.git","svn_url":"https://github.com/dradtke/opensuse-spotify-installer","homepage":null,"size":147,"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":"aspiers:master","ref":"master","sha":"fd0f3f7025c034c95b89580ec581006b22fdd51f","user":{"login":"aspiers","id":100738,"avatar_url":"https://avatars.githubusercontent.com/u/100738?v=3","gravatar_id":"","url":"https://api.github.com/users/aspiers","html_url":"https://github.com/aspiers","followers_url":"https://api.github.com/users/aspiers/followers","following_url":"https://api.github.com/users/aspiers/following{/other_user}","gists_url":"https://api.github.com/users/aspiers/gists{/gist_id}","starred_url":"https://api.github.com/users/aspiers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspiers/subscriptions","organizations_url":"https://api.github.com/users/aspiers/orgs","repos_url":"https://api.github.com/users/aspiers/repos","events_url":"https://api.github.com/users/aspiers/events{/privacy}","received_events_url":"https://api.github.com/users/aspiers/received_events","type":"User","site_admin":false},"repo":{"id":6496609,"name":"opensuse-spotify-installer","full_name":"aspiers/opensuse-spotify-installer","owner":{"login":"aspiers","id":100738,"avatar_url":"https://avatars.githubusercontent.com/u/100738?v=3","gravatar_id":"","url":"https://api.github.com/users/aspiers","html_url":"https://github.com/aspiers","followers_url":"https://api.github.com/users/aspiers/followers","following_url":"https://api.github.com/users/aspiers/following{/other_user}","gists_url":"https://api.github.com/users/aspiers/gists{/gist_id}","starred_url":"https://api.github.com/users/aspiers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspiers/subscriptions","organizations_url":"https://api.github.com/users/aspiers/orgs","repos_url":"https://api.github.com/users/aspiers/repos","events_url":"https://api.github.com/users/aspiers/events{/privacy}","received_events_url":"https://api.github.com/users/aspiers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aspiers/opensuse-spotify-installer","description":"Automate installation of Spotify on openSUSE","fork":false,"url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer","forks_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/forks","keys_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/teams","hooks_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/hooks","issue_events_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/issues/events{/number}","events_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/events","assignees_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/assignees{/user}","branches_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/branches{/branch}","tags_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/tags","blobs_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/statuses/{sha}","languages_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/languages","stargazers_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/stargazers","contributors_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/contributors","subscribers_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/subscribers","subscription_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/subscription","commits_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/contents/{+path}","compare_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/merges","archive_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/downloads","issues_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/issues{/number}","pulls_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls{/number}","milestones_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/milestones{/number}","notifications_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/labels{/name}","releases_url":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/releases{/id}","created_at":"2012-11-01T20:26:33Z","updated_at":"2015-04-02T16:53:26Z","pushed_at":"2015-04-18T17:02:32Z","git_url":"git://github.com/aspiers/opensuse-spotify-installer.git","ssh_url":"git@github.com:aspiers/opensuse-spotify-installer.git","clone_url":"https://github.com/aspiers/opensuse-spotify-installer.git","svn_url":"https://github.com/aspiers/opensuse-spotify-installer","homepage":null,"size":1110,"stargazers_count":31,"watchers_count":31,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":18,"forks":20,"open_issues":18,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls/37"},"html":{"href":"https://github.com/aspiers/opensuse-spotify-installer/pull/37"},"issue":{"href":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/issues/37"},"comments":{"href":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/aspiers/opensuse-spotify-installer/statuses/de132dc70dcb0aa279ed5ecc1d46935251fc07a9"}}}}