This commit is contained in:
parent
05779ea0d6
commit
386ed3ead2
1 changed files with 1 additions and 2 deletions
|
@ -192,8 +192,7 @@ install_db() {
|
|||
if [ $(mysql --user="$DB_USER" --password="$DB_PASS"$EXTRA --execute='show databases;' | grep ^$DB_NAME$) ]
|
||||
then
|
||||
echo "Reinstalling will delete the existing test database ($DB_NAME)"
|
||||
read -p 'Are you sure you want to proceed? [y/N]: ' DELETE_EXISTING_DB
|
||||
recreate_db $DELETE_EXISTING_DB
|
||||
recreate_db yes
|
||||
else
|
||||
create_db
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue