From 42f258e1613900a33865f234d9fdcaea0cd8f0cf Mon Sep 17 00:00:00 2001 From: Jari Voutilainen Date: Wed, 18 Oct 2023 09:44:39 +0300 Subject: [PATCH] AV-2055: uninstall deprecated modules --- drupal/scripts/init_drupal.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drupal/scripts/init_drupal.sh b/drupal/scripts/init_drupal.sh index 5169cb6105..f4f4f95574 100644 --- a/drupal/scripts/init_drupal.sh +++ b/drupal/scripts/init_drupal.sh @@ -114,6 +114,12 @@ echo "uninstall modules.." [[ "$MODULE_INFO" == *"page_cache"* ]] && drush pm:uninstall -y page_cache [[ "$MODULE_INFO" == *"protected_submissions"* ]] && drush pm:uninstall -y protected_submissions [[ "$MODULE_INFO" == *"avoindata_infobox"* ]] && drush pm:uninstall -y avoindata_infobox +[[ "$MODULE_INFO" == "avoindata_ckeditor_plugins" ]] && drush pm:uninstall -y avoindata_ckeditor_plugins +[[ "$MODULE_INFO" == "ckeditor" ]] && drush pm:uninstall -y ckeditor +[[ "$MODULE_INFO" == "color" ]] && drush pm:uninstall -y color +[[ "$MODULE_INFO" == "rdf" ]] && drush pm:uninstall -y rdf +[[ "$MODULE_INFO" == "bartik" ]] && drush pm:uninstall -y bartik +[[ "$MODULE_INFO" == "seven" ]] && drush pm:uninstall -y seven # enable modules echo "enable modules.." @@ -173,7 +179,6 @@ echo "enable custom modules.." [[ "$MODULE_INFO" != *"avoindata_events"* ]] && drush pm:enable -y avoindata_events [[ "$MODULE_INFO" != *"avoindata_guide"* ]] && drush pm:enable -y avoindata_guide [[ "$MODULE_INFO" != *"avoindata_user"* ]] && drush pm:enable -y avoindata_user -[[ "$MODULE_INFO" != *"avoindata_ckeditor_plugins"* ]] && drush pm:enable -y avoindata_ckeditor_plugins [[ "$MODULE_INFO" != *"avoindata_ckeditor5_plugins"* ]] && drush pm:enable -y avoindata_ckeditor5_plugins # enable custom theme + reload themes