mirror of
https://hk.gh-proxy.com/https://github.com/WordPressUtilities/WPUInstaller.git
synced 2025-08-18 08:11:11 +08:00
Local plugins
This commit is contained in:
parent
7cab94ce75
commit
543a91bbeb
3 changed files with 7 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
/local.sh
|
||||
/local/plugins
|
||||
|
|
|
@ -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
0
local/.gitkeep
Normal file
Loading…
Add table
Add a link
Reference in a new issue