Do not attempt to create database when it exists

pull/24/head
Jan Dorsman 2015-10-13 19:33:07 +02:00
parent c090d0ebc3
commit d433b8f5c8
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ else
echo "source ~/.aliases" >> ~/.bashrc
fi
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