test
Some checks failed
PHPUnit / PHPUnit – PHP (push) Failing after 1m12s

This commit is contained in:
André Menrath 2024-09-24 10:43:22 +02:00
parent 05779ea0d6
commit 386ed3ead2

View file

@ -192,8 +192,7 @@ install_db() {
if [ $(mysql --user="$DB_USER" --password="$DB_PASS"$EXTRA --execute='show databases;' | grep ^$DB_NAME$) ] if [ $(mysql --user="$DB_USER" --password="$DB_PASS"$EXTRA --execute='show databases;' | grep ^$DB_NAME$) ]
then then
echo "Reinstalling will delete the existing test database ($DB_NAME)" 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 yes
recreate_db $DELETE_EXISTING_DB
else else
create_db create_db
fi fi