Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wordpress-image
Manage
Activity
Members
Labels
Plan
Issues
10
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wordpress
wordpress-image
Commits
a9a21d47
Commit
a9a21d47
authored
1 year ago
by
Francisco Borges Aurindo Barros
Committed by
Vasvi Sharma
7 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Plugins not update
parent
e5206fe4
No related branches found
No related tags found
1 merge request
!10
Allow customization in themes without overwritting
Pipeline
#7475364
passed with stage
Stage: build
in 43 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
root/usr/share/container-scripts/php/pre-start/10-install-wordpress.sh
+1
-1
1 addition, 1 deletion
...e/container-scripts/php/pre-start/10-install-wordpress.sh
with
1 addition
and
1 deletion
root/usr/share/container-scripts/php/pre-start/10-install-wordpress.sh
+
1
−
1
View file @
a9a21d47
...
...
@@ -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
-rf
n
${
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment