File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,13 @@ function activate_plugin {
5454 execute_in_docker " bin/console sw:cache:clear"
5555}
5656
57- function remove_plugin {
57+ function deactivate_plugin {
5858 execute_in_docker " bin/console sw:plugin:deactivate $PLUGIN_NAME "
59+ execute_in_docker " bin/console sw:cache:clear"
60+ }
61+
62+ function remove_plugin {
63+ deactivate_plugin
5964 execute_in_docker " bin/console sw:plugin:uninstall $PLUGIN_NAME "
6065 execute_in_docker " rm $PLUGIN_DIRECTORY "
6166}
@@ -79,7 +84,15 @@ case "$2" in
7984 shift
8085 remove_plugin $@
8186 ;;
87+ activate)
88+ shift
89+ activate_plugin $@
90+ ;;
91+ deactivate)
92+ shift
93+ activate_plugin $@
94+ ;;
8295 * )
83- echo " usage: add/remove"
96+ echo " usage: add/remove/activate/deactivate "
8497 ;;
8598esac
You can’t perform that action at this time.
0 commit comments