#!/bin/bash . scripts/_defines.sh . scripts/_config.sh . scripts/setup.sh rm -f $BASE_PATH/site/tmp/cache*.* if [ -f $BASE_PATH/site/composer.json ] ; then COMPOSER=$(which composer) if test -z $COMPOSER ; then echo "> ERROR: composer not found. Install it into your ~/bin folder with just a 'composer' name (without .phar extension)" 1>&2 exit 1 fi cd site $COMPOSER install cd - > /dev/null fi