fabpot/Silex — pull request #402 by martinsik (2012-06-29 12:55:46+00:00)
Title: Build script does not depend only on curl (added wget and lwp-request)

Hi, I was playing with Silex a little and I realised that Ubuntu Desktop doesn't come with `curl` pre-installed by default so I made a small research what command I could use to make build script more cross-platform:

* OS X 10.7 - curl, lwp-download
* Ubuntu Desktop 12.04 - wget
* Ubuntu Server 12.04 - curl, wget
* Fedora 17 - curl
* Debian 6 - wget, lwp-download
* OpenSUSE 12.1 - curl, wget, lwp-download

I think this might change in later releases because I remember me installing `curl` on Ubuntu Server 8.04.

The only thing this commit does is that it finds the first available command and uses it to download composer. If this `build` script was intended to be used only in some internal or specific situations, then it's probably not neccesary to make it more complicated and discard this pull request.