Local plugins

This commit is contained in:
Kevin 2022-09-25 22:49:08 +02:00
parent 7cab94ce75
commit 543a91bbeb
3 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/local.sh
/local/plugins

View file

@ -119,6 +119,12 @@ if [[ $install_recommended_plugins == 'y' ]]; then
bashutilities_commit_all "Installation - Recommended Plugins";
fi;
# Local plugins
if [[ -d "${SCRIPTDIR}local/plugins/" ]];then
rsync -rv "${SCRIPTDIR}local/plugins/" "${MAINDIR}${WP_PLUGINS_DIR}/";
bashutilities_commit_all "Installation - Local Plugins";
fi;
# Activation
echo "## Plugin Activation";
_plugins_list=$(php ${WPU_PHPCLI} option get active_plugins);

0
local/.gitkeep Normal file
View file