From 067c1ed00b57855e1b42da4d77d9f23e6ff61358 Mon Sep 17 00:00:00 2001 From: Tom Wiesing Date: Thu, 8 Sep 2022 11:36:16 +0200 Subject: [PATCH] Fix provision_container.sh --- .../resources/compose/barrel/scripts/provision_container.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/distillery/resources/compose/barrel/scripts/provision_container.sh b/distillery/resources/compose/barrel/scripts/provision_container.sh index 5fcb66f..b661bd8 100644 --- a/distillery/resources/compose/barrel/scripts/provision_container.sh +++ b/distillery/resources/compose/barrel/scripts/provision_container.sh @@ -78,7 +78,9 @@ function composer_install_and_enable() { read composer drush; drupal_sites_permission_workaround composer require "$composer" - [ -n "$drush" ] && drush pm-enable --yes "$drush" + if [ -n "$drush" ]; then + drush pm-enable --yes "$drush" + fi ) done }