You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
phpservermon/setup-php.sh

11 lines
288 B
Bash

#!/usr/bin/env bash
# check if vendor dir is existing
DIR="/vagrant/vendor/"
if [ -d "$DIR" ]; then
# Take action if $DIR exists. #
echo "vendor dir found, nothing to do..."
else
echo "vendor dir not found, installing dependencies..."
cd /vagrant/ && php composer.phar install
fi