From 386ed3ead2b563e510b0a1f6846374f43ee418b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Tue, 24 Sep 2024 10:43:22 +0200 Subject: [PATCH] test --- bin/install-wp-tests.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/install-wp-tests.sh b/bin/install-wp-tests.sh index 82ae65f..ff43d3a 100755 --- a/bin/install-wp-tests.sh +++ b/bin/install-wp-tests.sh @@ -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