Skip to content

Instantly share code, notes, and snippets.

@eusonlito
Created April 6, 2015 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eusonlito/a7929e475dd98e4ed980 to your computer and use it in GitHub Desktop.
Save eusonlito/a7929e475dd98e4ed980 to your computer and use it in GitHub Desktop.
Update composer on each request. "composer" and "composer.phar" installed on /usr/local/bin/
#!/bin/sh
composer.phar self-update > /dev/null 2> /dev/null
composer.phar "$@"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment