diff options
| author | mo khan <mo@mokhan.ca> | 2014-10-31 12:23:22 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-10-31 12:23:22 -0600 |
| commit | 7cd7f8125e9bde0507613c390b8cbd116cb18ce3 (patch) | |
| tree | ff20637be4f1b55e8463cb5f1c17c8bb0416a35f /script | |
| parent | ba6899ffd0dcc015d25b22bae02104aad6f8ea94 (diff) | |
shorten the if clause.
Diffstat (limited to 'script')
| -rw-r--r-- | script/bootstrap-vagrant-user.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/bootstrap-vagrant-user.sh b/script/bootstrap-vagrant-user.sh index 3223cd38..868eb5f1 100644 --- a/script/bootstrap-vagrant-user.sh +++ b/script/bootstrap-vagrant-user.sh @@ -14,10 +14,10 @@ rbenv rehash cd /vagrant bundle install -j 4 rbenv rehash -if [ ! -f /vagrant/config/database.yml ]; then +if [ ! -f config/database.yml ]; then ln -s config/database.yml.vagrant config/database.yml fi -if [ ! -f /vagrant/.env ]; then +if [ ! -f .env ]; then ln -s .env.example .env fi bundle exec rake db:create db:migrate db:seed |
