{"action":"created","comment":{"url":"https://api.github.com/repos/google/earthenterprise/pulls/comments/159089679","pull_request_review_id":85993338,"id":159089679,"diff_hunk":"@@ -26,4 +26,7 @@ remove_users_and_groups()\n # Main Function\n #-----------------------------------------------------------------\n \n-remove_users_and_groups\n+# remove users only if actually uninstalling\n+if [ \"$1\" = \"0\" ] ; then\n+    remove_users_and_groups","path":"earth_enterprise/rpms/opengee-fusion/post-uninstall.sh","position":7,"original_position":7,"commit_id":"14cec418fa8b9bb248c90450a13a88ebcb4c6c28","original_commit_id":"14cec418fa8b9bb248c90450a13a88ebcb4c6c28","user":{"login":"tst-ppenev","id":17442305,"avatar_url":"https://avatars2.githubusercontent.com/u/17442305?v=4","gravatar_id":"","url":"https://api.github.com/users/tst-ppenev","html_url":"https://github.com/tst-ppenev","followers_url":"https://api.github.com/users/tst-ppenev/followers","following_url":"https://api.github.com/users/tst-ppenev/following{/other_user}","gists_url":"https://api.github.com/users/tst-ppenev/gists{/gist_id}","starred_url":"https://api.github.com/users/tst-ppenev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tst-ppenev/subscriptions","organizations_url":"https://api.github.com/users/tst-ppenev/orgs","repos_url":"https://api.github.com/users/tst-ppenev/repos","events_url":"https://api.github.com/users/tst-ppenev/events{/privacy}","received_events_url":"https://api.github.com/users/tst-ppenev/received_events","type":"User","site_admin":false},"body":"Suggestion: We may want to just print a message that the system administrator can delete `gefusionuser`, if no files or directories are using it.","created_at":"2017-12-29T18:20:05Z","updated_at":"2017-12-29T18:32:48Z","html_url":"https://github.com/google/earthenterprise/pull/642#discussion_r159089679","pull_request_url":"https://api.github.com/repos/google/earthenterprise/pulls/642","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/google/earthenterprise/pulls/comments/159089679"},"html":{"href":"https://github.com/google/earthenterprise/pull/642#discussion_r159089679"},"pull_request":{"href":"https://api.github.com/repos/google/earthenterprise/pulls/642"}}},"pull_request":{"url":"https://api.github.com/repos/google/earthenterprise/pulls/642","id":160537752,"html_url":"https://github.com/google/earthenterprise/pull/642","diff_url":"https://github.com/google/earthenterprise/pull/642.diff","patch_url":"https://github.com/google/earthenterprise/pull/642.patch","issue_url":"https://api.github.com/repos/google/earthenterprise/issues/642","number":642,"state":"open","locked":false,"title":"WIP: rpm scripting","user":{"login":"tst-dsugar","id":32524063,"avatar_url":"https://avatars0.githubusercontent.com/u/32524063?v=4","gravatar_id":"","url":"https://api.github.com/users/tst-dsugar","html_url":"https://github.com/tst-dsugar","followers_url":"https://api.github.com/users/tst-dsugar/followers","following_url":"https://api.github.com/users/tst-dsugar/following{/other_user}","gists_url":"https://api.github.com/users/tst-dsugar/gists{/gist_id}","starred_url":"https://api.github.com/users/tst-dsugar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tst-dsugar/subscriptions","organizations_url":"https://api.github.com/users/tst-dsugar/orgs","repos_url":"https://api.github.com/users/tst-dsugar/repos","events_url":"https://api.github.com/users/tst-dsugar/events{/privacy}","received_events_url":"https://api.github.com/users/tst-dsugar/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-12-29T16:50:51Z","updated_at":"2017-12-29T18:32:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78b7aead2aed83f23aee1577ba7c7e5f411382fb","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/earthenterprise/pulls/642/commits","review_comments_url":"https://api.github.com/repos/google/earthenterprise/pulls/642/comments","review_comment_url":"https://api.github.com/repos/google/earthenterprise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/earthenterprise/issues/642/comments","statuses_url":"https://api.github.com/repos/google/earthenterprise/statuses/14cec418fa8b9bb248c90450a13a88ebcb4c6c28","head":{"label":"tst-dsugar:OPGEE-rpm-scripting","ref":"OPGEE-rpm-scripting","sha":"14cec418fa8b9bb248c90450a13a88ebcb4c6c28","user":{"login":"tst-dsugar","id":32524063,"avatar_url":"https://avatars0.githubusercontent.com/u/32524063?v=4","gravatar_id":"","url":"https://api.github.com/users/tst-dsugar","html_url":"https://github.com/tst-dsugar","followers_url":"https://api.github.com/users/tst-dsugar/followers","following_url":"https://api.github.com/users/tst-dsugar/following{/other_user}","gists_url":"https://api.github.com/users/tst-dsugar/gists{/gist_id}","starred_url":"https://api.github.com/users/tst-dsugar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tst-dsugar/subscriptions","organizations_url":"https://api.github.com/users/tst-dsugar/orgs","repos_url":"https://api.github.com/users/tst-dsugar/repos","events_url":"https://api.github.com/users/tst-dsugar/events{/privacy}","received_events_url":"https://api.github.com/users/tst-dsugar/received_events","type":"User","site_admin":false},"repo":{"id":105805479,"name":"earthenterprise","full_name":"tst-dsugar/earthenterprise","owner":{"login":"tst-dsugar","id":32524063,"avatar_url":"https://avatars0.githubusercontent.com/u/32524063?v=4","gravatar_id":"","url":"https://api.github.com/users/tst-dsugar","html_url":"https://github.com/tst-dsugar","followers_url":"https://api.github.com/users/tst-dsugar/followers","following_url":"https://api.github.com/users/tst-dsugar/following{/other_user}","gists_url":"https://api.github.com/users/tst-dsugar/gists{/gist_id}","starred_url":"https://api.github.com/users/tst-dsugar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tst-dsugar/subscriptions","organizations_url":"https://api.github.com/users/tst-dsugar/orgs","repos_url":"https://api.github.com/users/tst-dsugar/repos","events_url":"https://api.github.com/users/tst-dsugar/events{/privacy}","received_events_url":"https://api.github.com/users/tst-dsugar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tst-dsugar/earthenterprise","description":"Google Earth Enterprise - Open Source","fork":true,"url":"https://api.github.com/repos/tst-dsugar/earthenterprise","forks_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/forks","keys_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/teams","hooks_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/hooks","issue_events_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/issues/events{/number}","events_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/events","assignees_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/assignees{/user}","branches_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/branches{/branch}","tags_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/tags","blobs_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/git/refs{/sha}","trees_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/statuses/{sha}","languages_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/languages","stargazers_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/stargazers","contributors_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/contributors","subscribers_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/subscribers","subscription_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/subscription","commits_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/commits{/sha}","git_commits_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/git/commits{/sha}","comments_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/comments{/number}","issue_comment_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/issues/comments{/number}","contents_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/contents/{+path}","compare_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/merges","archive_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/downloads","issues_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/issues{/number}","pulls_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/pulls{/number}","milestones_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/milestones{/number}","notifications_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/labels{/name}","releases_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/releases{/id}","deployments_url":"https://api.github.com/repos/tst-dsugar/earthenterprise/deployments","created_at":"2017-10-04T18:50:10Z","updated_at":"2017-10-04T18:50:22Z","pushed_at":"2017-12-29T15:56:39Z","git_url":"git://github.com/tst-dsugar/earthenterprise.git","ssh_url":"git@github.com:tst-dsugar/earthenterprise.git","clone_url":"https://github.com/tst-dsugar/earthenterprise.git","svn_url":"https://github.com/tst-dsugar/earthenterprise","homepage":"","size":334692,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"59221324254545b6ba694d3f2ebb30d0fcb5717b","user":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":85630134,"name":"earthenterprise","full_name":"google/earthenterprise","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/earthenterprise","description":"Google Earth Enterprise - Open Source","fork":false,"url":"https://api.github.com/repos/google/earthenterprise","forks_url":"https://api.github.com/repos/google/earthenterprise/forks","keys_url":"https://api.github.com/repos/google/earthenterprise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/earthenterprise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/earthenterprise/teams","hooks_url":"https://api.github.com/repos/google/earthenterprise/hooks","issue_events_url":"https://api.github.com/repos/google/earthenterprise/issues/events{/number}","events_url":"https://api.github.com/repos/google/earthenterprise/events","assignees_url":"https://api.github.com/repos/google/earthenterprise/assignees{/user}","branches_url":"https://api.github.com/repos/google/earthenterprise/branches{/branch}","tags_url":"https://api.github.com/repos/google/earthenterprise/tags","blobs_url":"https://api.github.com/repos/google/earthenterprise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/earthenterprise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/earthenterprise/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/earthenterprise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/earthenterprise/statuses/{sha}","languages_url":"https://api.github.com/repos/google/earthenterprise/languages","stargazers_url":"https://api.github.com/repos/google/earthenterprise/stargazers","contributors_url":"https://api.github.com/repos/google/earthenterprise/contributors","subscribers_url":"https://api.github.com/repos/google/earthenterprise/subscribers","subscription_url":"https://api.github.com/repos/google/earthenterprise/subscription","commits_url":"https://api.github.com/repos/google/earthenterprise/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/earthenterprise/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/earthenterprise/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/earthenterprise/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/earthenterprise/contents/{+path}","compare_url":"https://api.github.com/repos/google/earthenterprise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/earthenterprise/merges","archive_url":"https://api.github.com/repos/google/earthenterprise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/earthenterprise/downloads","issues_url":"https://api.github.com/repos/google/earthenterprise/issues{/number}","pulls_url":"https://api.github.com/repos/google/earthenterprise/pulls{/number}","milestones_url":"https://api.github.com/repos/google/earthenterprise/milestones{/number}","notifications_url":"https://api.github.com/repos/google/earthenterprise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/earthenterprise/labels{/name}","releases_url":"https://api.github.com/repos/google/earthenterprise/releases{/id}","deployments_url":"https://api.github.com/repos/google/earthenterprise/deployments","created_at":"2017-03-20T21:40:53Z","updated_at":"2017-12-29T08:29:54Z","pushed_at":"2017-12-29T16:50:52Z","git_url":"git://github.com/google/earthenterprise.git","ssh_url":"git@github.com:google/earthenterprise.git","clone_url":"https://github.com/google/earthenterprise.git","svn_url":"https://github.com/google/earthenterprise","homepage":"","size":334654,"stargazers_count":1332,"watchers_count":1332,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":417,"mirror_url":null,"archived":false,"open_issues_count":202,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":417,"open_issues":202,"watchers":1332,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/earthenterprise/pulls/642"},"html":{"href":"https://github.com/google/earthenterprise/pull/642"},"issue":{"href":"https://api.github.com/repos/google/earthenterprise/issues/642"},"comments":{"href":"https://api.github.com/repos/google/earthenterprise/issues/642/comments"},"review_comments":{"href":"https://api.github.com/repos/google/earthenterprise/pulls/642/comments"},"review_comment":{"href":"https://api.github.com/repos/google/earthenterprise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/earthenterprise/pulls/642/commits"},"statuses":{"href":"https://api.github.com/repos/google/earthenterprise/statuses/14cec418fa8b9bb248c90450a13a88ebcb4c6c28"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"tst-ppenev"}}