Only update/install curl if not available

`apt-get -y update` is kinda slow to perform if not actually necessary