Fix provision_container.sh

This commit is contained in:
Tom Wiesing 2022-09-08 11:36:16 +02:00
parent 4b0b86f22c
commit 067c1ed00b
No known key found for this signature in database

View file

@ -78,7 +78,9 @@ function composer_install_and_enable() {
read composer drush; read composer drush;
drupal_sites_permission_workaround drupal_sites_permission_workaround
composer require "$composer" composer require "$composer"
[ -n "$drush" ] && drush pm-enable --yes "$drush" if [ -n "$drush" ]; then
drush pm-enable --yes "$drush"
fi
) )
done done
} }