Fixes wordpress way of provisionning wp-content
This commit is contained in:
parent
322f75319b
commit
ffa0dc29f6
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! "$(ls -A /app/wp-content)" ]; then
|
||||
mv /wp-content /app/wp-content
|
||||
mv /wp-content/* /app/wp-content/
|
||||
mv /wp-content/.* /app/wp-content/
|
||||
fi
|
||||
|
||||
chown -R root:www-data /app
|
||||
|
|
Loading…
Reference in a new issue