{"action":"closed","issue":{"url":"https://api.github.com/repos/sdroadie/setup-scripts/issues/2","labels_url":"https://api.github.com/repos/sdroadie/setup-scripts/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/sdroadie/setup-scripts/issues/2/comments","events_url":"https://api.github.com/repos/sdroadie/setup-scripts/issues/2/events","html_url":"https://github.com/sdroadie/setup-scripts/issues/2","id":92388380,"number":2,"title":"Check for previously installed software, and handle gracefully.","user":{"login":"sdroadie","id":1825422,"avatar_url":"https://avatars.githubusercontent.com/u/1825422?v=3","gravatar_id":"","url":"https://api.github.com/users/sdroadie","html_url":"https://github.com/sdroadie","followers_url":"https://api.github.com/users/sdroadie/followers","following_url":"https://api.github.com/users/sdroadie/following{/other_user}","gists_url":"https://api.github.com/users/sdroadie/gists{/gist_id}","starred_url":"https://api.github.com/users/sdroadie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdroadie/subscriptions","organizations_url":"https://api.github.com/users/sdroadie/orgs","repos_url":"https://api.github.com/users/sdroadie/repos","events_url":"https://api.github.com/users/sdroadie/events{/privacy}","received_events_url":"https://api.github.com/users/sdroadie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sdroadie/setup-scripts/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-01T13:39:39Z","updated_at":"2015-07-01T20:01:48Z","closed_at":"2015-07-01T20:01:48Z","body":"There's certainly a way to check if some software is already installed. `apt-get` handles this gracefully, but I should check for `rbenv` or `nvm` first before downloading. This script doesn't necessarily assume a clean system, and if anyone is going to use this (hell, even for my sake), it should be a bit more efficient about its resource use."}}