From e7677b2e5955600595c7c9bf1a99b67c00d676de Mon Sep 17 00:00:00 2001 From: Christian Lopez Espinola Date: Tue, 3 Dec 2024 01:57:26 +0100 Subject: [PATCH] fix(#743): "drupal:db-import" frozen if $DB_DIR/db.sql.gz already exists. --- tasks/drupal.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/drupal.yml b/tasks/drupal.yml index 2aedd941e..df914d36c 100644 --- a/tasks/drupal.yml +++ b/tasks/drupal.yml @@ -44,7 +44,7 @@ tasks: - echo "🚮 Dropping existing database" - ./vendor/bin/drush {{ .site }} sql:drop --yes - echo "📰 Importing database" - - gunzip -k $DB_DIR/db.sql.gz + - gunzip --keep --force $DB_DIR/db.sql.gz - ./vendor/bin/drush {{ .site }} sql:query --file=$DB_DIR/db.sql - defer: rm -f $DB_DIR/db.sql export-db: