From 2264bd39c8f7311550a1b914cb53071d538d9c4c Mon Sep 17 00:00:00 2001 From: Scott Queen Date: Mon, 23 Dec 2024 17:55:58 -0500 Subject: [PATCH] Update drush-post-deploy.sh --- scripts/drush-post-deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/drush-post-deploy.sh b/scripts/drush-post-deploy.sh index 20df47f7..c211f8e6 100755 --- a/scripts/drush-post-deploy.sh +++ b/scripts/drush-post-deploy.sh @@ -11,7 +11,8 @@ drush cim --partial --source=modules/custom/usagov_benefit_finder/configuration drush cr ### USER_PASSWORD_RESET_PLACEHOLDER ### drush state:set system.maintenance_mode 0 -y -drush pm:uninstall usagov_login --strict=0 +# drush pm:uninstall usagov_login --strict=0 +drush pm-list --type=module usagov_login --pipe | grep -q "^usagov_login " && drush pm-uninstall -y usagov_login || echo "Module 'usagov_login' does not exist. Skipping uninstallation." echo "Post deploy finished!"