Skip to content

Commit

Permalink
AV-2055: uninstall deprecated modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Oct 18, 2023
1 parent 3d4eb9b commit 42f258e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion drupal/scripts/init_drupal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.."
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 42f258e

Please sign in to comment.