check for curl when installing on linux

Fixes a problem installing hub using curl.

```
Installing GitHub CLI client ...

successfully:1: command not found: curl
failed
chmod: cannot access ‘/home/ian/.bin/hub’: No such file or directory
failed
```