Vagrant: Do not create database if it already exists

Patch by @oldskool.
Closes #24.
pull/26/head
Franz Liedke 2015-10-14 10:30:03 +02:00
parent accda91bf5
commit f52143ac87
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ cp /vagrant/scripts/aliases ~/.aliases
### Create rc file ###
echo "source ~/.aliases" >> ~/.bashrc
mysql -u root -proot -e 'create database flarum'
mysql -u root -proot -e 'create database if not exists flarum'
### Setup flarum/core and install dependencies ###
cd /vagrant/flarum/core