{"action":"created","issue":{"url":"https://api.github.com/repos/postmodern/ruby-install/issues/251","repository_url":"https://api.github.com/repos/postmodern/ruby-install","labels_url":"https://api.github.com/repos/postmodern/ruby-install/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/postmodern/ruby-install/issues/251/comments","events_url":"https://api.github.com/repos/postmodern/ruby-install/issues/251/events","html_url":"https://github.com/postmodern/ruby-install/pull/251","id":124240266,"number":251,"title":"functions.sh: cleanup_source: remove src_dir if empty","user":{"login":"vitorgalvao","id":1699443,"avatar_url":"https://avatars.githubusercontent.com/u/1699443?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorgalvao","html_url":"https://github.com/vitorgalvao","followers_url":"https://api.github.com/users/vitorgalvao/followers","following_url":"https://api.github.com/users/vitorgalvao/following{/other_user}","gists_url":"https://api.github.com/users/vitorgalvao/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorgalvao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorgalvao/subscriptions","organizations_url":"https://api.github.com/users/vitorgalvao/orgs","repos_url":"https://api.github.com/users/vitorgalvao/repos","events_url":"https://api.github.com/users/vitorgalvao/events{/privacy}","received_events_url":"https://api.github.com/users/vitorgalvao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-29T17:12:55Z","updated_at":"2016-03-11T00:25:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/postmodern/ruby-install/pulls/251","html_url":"https://github.com/postmodern/ruby-install/pull/251","diff_url":"https://github.com/postmodern/ruby-install/pull/251.diff","patch_url":"https://github.com/postmodern/ruby-install/pull/251.patch"},"body":"Closes #239."},"comment":{"url":"https://api.github.com/repos/postmodern/ruby-install/issues/comments/195114734","html_url":"https://github.com/postmodern/ruby-install/pull/251#issuecomment-195114734","issue_url":"https://api.github.com/repos/postmodern/ruby-install/issues/251","id":195114734,"user":{"login":"vitorgalvao","id":1699443,"avatar_url":"https://avatars.githubusercontent.com/u/1699443?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorgalvao","html_url":"https://github.com/vitorgalvao","followers_url":"https://api.github.com/users/vitorgalvao/followers","following_url":"https://api.github.com/users/vitorgalvao/following{/other_user}","gists_url":"https://api.github.com/users/vitorgalvao/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorgalvao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorgalvao/subscriptions","organizations_url":"https://api.github.com/users/vitorgalvao/orgs","repos_url":"https://api.github.com/users/vitorgalvao/repos","events_url":"https://api.github.com/users/vitorgalvao/events{/privacy}","received_events_url":"https://api.github.com/users/vitorgalvao/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T00:25:03Z","updated_at":"2016-03-11T00:25:03Z","body":"> I worry whether some users might alias `rmdir` to something else...\r\n\r\nWhat do you mean? [`rmdir` is a standard unix command](https://en.wikipedia.org/wiki/Rmdir). Worrying users alias it to something else is the same as worrying they alias `rm` or `cp` or `mv` to something else. It makes no sense. If you alias a standard command to something non-standard, it’s your fault and there’s nothing you as a developer can do about that.\r\n\r\n> Also, I'm planning on downloading the files to `~/.cache/` instead of `~/src/`.\r\n\r\nSo just change it when/if you do it. I don’t see how that prevents this PR."}}