Fixes wordpress way of provisionning wp-content

This commit is contained in:
pierreozoux 2015-01-12 12:16:24 +01:00
parent 322f75319b
commit ffa0dc29f6

View file

@ -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