{"action":"created","comment":{"url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls/comments/39158225","id":39158225,"diff_hunk":"@@ -1,14 +1,24 @@\n #!/usr/bin/env bash\n \n-MNT=$(grep \"Where=\" /lib/systemd/system/android.mount | cut -d'=' -f 2)\n+MNT=$(grep \"Where=\" /lib/systemd/system/android.mount | cut -d'=' -f 2)/media/0\n+\n+#fix a stupid mistake in previous versions\n+if [ \"$(readlink -- /home/nemo/Pictures/Android)\" = \"/android/Pictures\" ]; then\n+  for i in Music Pictures Playlists Downloads Videos; do\n+    unlink /home/nemo/$i/Android \n+  done\n+  unlink /home/nemo/Music/AndroidPodcasts\n+  unlink /home/nemo/Pictures/Camera/Android\n+fi\n+\n if [ ! -h \"/home/nemo/Pictures/Android\" ]; then\n-  if [ -d $MNT/Pictures ]; then \n+  if [ -d $MNT/Pictures ] ; then","path":"sparse/usr/bin/droid/android-links.sh","position":17,"original_position":17,"commit_id":"dd88c8d2703483ff864cf9fd809d1427ddce6e2d","original_commit_id":"dd88c8d2703483ff864cf9fd809d1427ddce6e2d","user":{"login":"sledges","id":467463,"avatar_url":"https://avatars.githubusercontent.com/u/467463?v=3","gravatar_id":"","url":"https://api.github.com/users/sledges","html_url":"https://github.com/sledges","followers_url":"https://api.github.com/users/sledges/followers","following_url":"https://api.github.com/users/sledges/following{/other_user}","gists_url":"https://api.github.com/users/sledges/gists{/gist_id}","starred_url":"https://api.github.com/users/sledges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledges/subscriptions","organizations_url":"https://api.github.com/users/sledges/orgs","repos_url":"https://api.github.com/users/sledges/repos","events_url":"https://api.github.com/users/sledges/events{/privacy}","received_events_url":"https://api.github.com/users/sledges/received_events","type":"User","site_admin":false},"body":"remove space after ; will make commit cleaner","created_at":"2015-09-10T13:19:51Z","updated_at":"2015-09-10T13:19:51Z","html_url":"https://github.com/mer-hybris/droid-config-hammerhead/pull/14#discussion_r39158225","pull_request_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls/comments/39158225"},"html":{"href":"https://github.com/mer-hybris/droid-config-hammerhead/pull/14#discussion_r39158225"},"pull_request":{"href":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls/14","id":44211825,"html_url":"https://github.com/mer-hybris/droid-config-hammerhead/pull/14","diff_url":"https://github.com/mer-hybris/droid-config-hammerhead/pull/14.diff","patch_url":"https://github.com/mer-hybris/droid-config-hammerhead/pull/14.patch","issue_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/issues/14","number":14,"state":"open","locked":false,"title":"[android] fixed stupid mistake in the source for links. also try to u…","user":{"login":"alinelena","id":3306823,"avatar_url":"https://avatars.githubusercontent.com/u/3306823?v=3","gravatar_id":"","url":"https://api.github.com/users/alinelena","html_url":"https://github.com/alinelena","followers_url":"https://api.github.com/users/alinelena/followers","following_url":"https://api.github.com/users/alinelena/following{/other_user}","gists_url":"https://api.github.com/users/alinelena/gists{/gist_id}","starred_url":"https://api.github.com/users/alinelena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinelena/subscriptions","organizations_url":"https://api.github.com/users/alinelena/orgs","repos_url":"https://api.github.com/users/alinelena/repos","events_url":"https://api.github.com/users/alinelena/events{/privacy}","received_events_url":"https://api.github.com/users/alinelena/received_events","type":"User","site_admin":false},"body":"…nlink in case things were created","created_at":"2015-09-04T12:21:59Z","updated_at":"2015-09-10T13:19:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0efa651e50b4a400e9c7e65abc9b239d93c7c0ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls/14/commits","review_comments_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls/14/comments","review_comment_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/issues/14/comments","statuses_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/statuses/dd88c8d2703483ff864cf9fd809d1427ddce6e2d","head":{"label":"alinelena:clinks","ref":"clinks","sha":"dd88c8d2703483ff864cf9fd809d1427ddce6e2d","user":{"login":"alinelena","id":3306823,"avatar_url":"https://avatars.githubusercontent.com/u/3306823?v=3","gravatar_id":"","url":"https://api.github.com/users/alinelena","html_url":"https://github.com/alinelena","followers_url":"https://api.github.com/users/alinelena/followers","following_url":"https://api.github.com/users/alinelena/following{/other_user}","gists_url":"https://api.github.com/users/alinelena/gists{/gist_id}","starred_url":"https://api.github.com/users/alinelena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinelena/subscriptions","organizations_url":"https://api.github.com/users/alinelena/orgs","repos_url":"https://api.github.com/users/alinelena/repos","events_url":"https://api.github.com/users/alinelena/events{/privacy}","received_events_url":"https://api.github.com/users/alinelena/received_events","type":"User","site_admin":false},"repo":{"id":41807392,"name":"droid-config-hammerhead","full_name":"alinelena/droid-config-hammerhead","owner":{"login":"alinelena","id":3306823,"avatar_url":"https://avatars.githubusercontent.com/u/3306823?v=3","gravatar_id":"","url":"https://api.github.com/users/alinelena","html_url":"https://github.com/alinelena","followers_url":"https://api.github.com/users/alinelena/followers","following_url":"https://api.github.com/users/alinelena/following{/other_user}","gists_url":"https://api.github.com/users/alinelena/gists{/gist_id}","starred_url":"https://api.github.com/users/alinelena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinelena/subscriptions","organizations_url":"https://api.github.com/users/alinelena/orgs","repos_url":"https://api.github.com/users/alinelena/repos","events_url":"https://api.github.com/users/alinelena/events{/privacy}","received_events_url":"https://api.github.com/users/alinelena/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alinelena/droid-config-hammerhead","description":"New modular packaging layout of droid-hal-configs","fork":true,"url":"https://api.github.com/repos/alinelena/droid-config-hammerhead","forks_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/forks","keys_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/teams","hooks_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/hooks","issue_events_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/issues/events{/number}","events_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/events","assignees_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/assignees{/user}","branches_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/branches{/branch}","tags_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/tags","blobs_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/git/refs{/sha}","trees_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/statuses/{sha}","languages_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/languages","stargazers_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/stargazers","contributors_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/contributors","subscribers_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/subscribers","subscription_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/subscription","commits_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/commits{/sha}","git_commits_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/git/commits{/sha}","comments_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/comments{/number}","issue_comment_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/issues/comments{/number}","contents_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/contents/{+path}","compare_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/merges","archive_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/downloads","issues_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/issues{/number}","pulls_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/pulls{/number}","milestones_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/milestones{/number}","notifications_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/labels{/name}","releases_url":"https://api.github.com/repos/alinelena/droid-config-hammerhead/releases{/id}","created_at":"2015-09-02T14:53:09Z","updated_at":"2015-09-02T14:53:10Z","pushed_at":"2015-09-10T13:18:09Z","git_url":"git://github.com/alinelena/droid-config-hammerhead.git","ssh_url":"git@github.com:alinelena/droid-config-hammerhead.git","clone_url":"https://github.com/alinelena/droid-config-hammerhead.git","svn_url":"https://github.com/alinelena/droid-config-hammerhead","homepage":null,"size":126,"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":"mer-hybris:master","ref":"master","sha":"12cb6b5d7ab4386123ee6cc22ab36b6a8bd2ccea","user":{"login":"mer-hybris","id":5749272,"avatar_url":"https://avatars.githubusercontent.com/u/5749272?v=3","gravatar_id":"","url":"https://api.github.com/users/mer-hybris","html_url":"https://github.com/mer-hybris","followers_url":"https://api.github.com/users/mer-hybris/followers","following_url":"https://api.github.com/users/mer-hybris/following{/other_user}","gists_url":"https://api.github.com/users/mer-hybris/gists{/gist_id}","starred_url":"https://api.github.com/users/mer-hybris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mer-hybris/subscriptions","organizations_url":"https://api.github.com/users/mer-hybris/orgs","repos_url":"https://api.github.com/users/mer-hybris/repos","events_url":"https://api.github.com/users/mer-hybris/events{/privacy}","received_events_url":"https://api.github.com/users/mer-hybris/received_events","type":"Organization","site_admin":false},"repo":{"id":34821391,"name":"droid-config-hammerhead","full_name":"mer-hybris/droid-config-hammerhead","owner":{"login":"mer-hybris","id":5749272,"avatar_url":"https://avatars.githubusercontent.com/u/5749272?v=3","gravatar_id":"","url":"https://api.github.com/users/mer-hybris","html_url":"https://github.com/mer-hybris","followers_url":"https://api.github.com/users/mer-hybris/followers","following_url":"https://api.github.com/users/mer-hybris/following{/other_user}","gists_url":"https://api.github.com/users/mer-hybris/gists{/gist_id}","starred_url":"https://api.github.com/users/mer-hybris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mer-hybris/subscriptions","organizations_url":"https://api.github.com/users/mer-hybris/orgs","repos_url":"https://api.github.com/users/mer-hybris/repos","events_url":"https://api.github.com/users/mer-hybris/events{/privacy}","received_events_url":"https://api.github.com/users/mer-hybris/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mer-hybris/droid-config-hammerhead","description":"New modular packaging layout of droid-hal-configs","fork":false,"url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead","forks_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/forks","keys_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/teams","hooks_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/hooks","issue_events_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/issues/events{/number}","events_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/events","assignees_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/assignees{/user}","branches_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/branches{/branch}","tags_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/tags","blobs_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/git/refs{/sha}","trees_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/statuses/{sha}","languages_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/languages","stargazers_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/stargazers","contributors_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/contributors","subscribers_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/subscribers","subscription_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/subscription","commits_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/commits{/sha}","git_commits_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/git/commits{/sha}","comments_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/comments{/number}","issue_comment_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/issues/comments{/number}","contents_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/contents/{+path}","compare_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/merges","archive_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/downloads","issues_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/issues{/number}","pulls_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls{/number}","milestones_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/milestones{/number}","notifications_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/labels{/name}","releases_url":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/releases{/id}","created_at":"2015-04-29T22:23:36Z","updated_at":"2015-04-30T00:25:52Z","pushed_at":"2015-09-10T13:18:09Z","git_url":"git://github.com/mer-hybris/droid-config-hammerhead.git","ssh_url":"git@github.com:mer-hybris/droid-config-hammerhead.git","clone_url":"https://github.com/mer-hybris/droid-config-hammerhead.git","svn_url":"https://github.com/mer-hybris/droid-config-hammerhead","homepage":null,"size":271,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls/14"},"html":{"href":"https://github.com/mer-hybris/droid-config-hammerhead/pull/14"},"issue":{"href":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/issues/14"},"comments":{"href":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/mer-hybris/droid-config-hammerhead/statuses/dd88c8d2703483ff864cf9fd809d1427ddce6e2d"}}}}