Skip to content

Commit

Permalink
Merge pull request #2092 from vrk-kpa/AV-2055_uninstall_deprecated_mo…
Browse files Browse the repository at this point in the history
…dules

AV-2055: uninstall deprecated modules
  • Loading branch information
Zharktas authored Oct 23, 2023
2 parents 3d4eb9b + 9993811 commit e637813
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
pip install ruff
- name: Run ruff
run: |
ruff check --format=github ckan
ruff check --output-format=github ckan
code-sniffer:
name: code-sniffer
Expand Down
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 e637813

Please sign in to comment.