Commit fae37e62 authored by Tobias Bähr's avatar Tobias Bähr

Fix rsync command.

parent e8fd328e
......@@ -114,7 +114,8 @@ mkdir -p \
/app/data/config \
/app/data/translations \
/app/data/media/files \
/app/data/media/images \
# ensure permissions for setup
chown -R www-data.www-data /app/data /run/mautic /tmp/cache
......@@ -148,7 +149,7 @@ fi
echo "=> Ensure themes"
ls /app/pkg/themes > /tmp/include.txt
rsync -avz --exclude="*" --delete --include-from=/tmp/include.txt /app/pkg/themes /app/data/themes
rsync -avz --prune-empty-dirs --delete --include-from=/tmp/include.txt --exclude="/*" /app/pkg/themes/ /app/data/themes/
echo "=> Ensure plugins"
sudo -u www-data php ./app/console mautic:plugins:install
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment