Skip to content
Snippets Groups Projects
Commit a9a21d47 authored by Francisco Borges Aurindo Barros's avatar Francisco Borges Aurindo Barros Committed by Vasvi Sharma
Browse files

Plugins not update

parent e5206fe4
No related branches found
No related tags found
1 merge request!10Allow customization in themes without overwritting
Pipeline #7475364 passed with stage
in 43 seconds
......@@ -4,7 +4,7 @@ function copy_resources_to_wp_content () {
# Copy gitlab provided plugins, themes files into the persistent volume.
echo "--> Copying custom themes and plugins ..."
if [ -d ${PHP_CONTAINER_SCRIPTS_PATH}/wordpress-content/plugins ]; then
cp -rf ${PHP_CONTAINER_SCRIPTS_PATH}/wordpress-content/plugins/* wp-content/plugins/ 2>/dev/null || true
cp -rfn ${PHP_CONTAINER_SCRIPTS_PATH}/wordpress-content/plugins/* wp-content/plugins/ 2>/dev/null || true
fi
if [ -d ${PHP_CONTAINER_SCRIPTS_PATH}/wordpress-content/themes ]; then
cp -rfn ${PHP_CONTAINER_SCRIPTS_PATH}/wordpress-content/themes/* wp-content/themes/ 2>/dev/null || true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment