mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fixes setup db if statement in bootstrap.sh
to setup the database if there is no developement and no test database already.
This commit is contained in:
parent
38296b0a63
commit
50d946e4a7
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ fi
|
|||
if [ ! -f /vagrant/config/database.yml ] && [ -f /vagrant/config/database.yml.example ]; then
|
||||
echo -e "\nSetting up your database from config/database.yml...\n"
|
||||
cp config/database.yml.example config/database.yml
|
||||
if [ ! -f db/development.sqlite3 ] && [ -f db/test.sqlite3 ]; then
|
||||
if [ ! -f db/development.sqlite3 ] && [ ! -f db/test.sqlite3 ]; then
|
||||
bundle exec rake db:setup
|
||||
else
|
||||
echo -e "\n\nWARNING: You have already have a development/test database."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue