composer.sh 232 B

123456789
  1. #!/bin/bash
  2. RETCODE=$(fw_exists bin/composer.phar)
  3. [ ! "$RETCODE" == 0 ] || { return 0; }
  4. fw_depends php
  5. fw_get https://getcomposer.org/installer -O composer-installer.php
  6. mkdir -p bin
  7. php composer-installer.php --install-dir=bin