Skip to content
Snippets Groups Projects
Commit dc2c19e7 authored by Bob Mottram's avatar Bob Mottram
Browse files

Ownership of background image

parent 0886f738
No related branches found
No related tags found
No related merge requests found
......@@ -132,6 +132,7 @@ function pleroma_set_background_image_from_url {
if [ -d /var/www/${domain_name}/htdocs/static ]; then
cp bg_custom.${ext} static/bg_custom.${ext}
chown www-data:www-data static/bg_custom.${ext}
sed -i "s|\"background\":.*|\"background\": \"/static/bg_custom.${ext}\",|g" static/config.json
fi
......
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