|
@@ -132,6 +132,7 @@ function pleroma_set_background_image_from_url {
|
132
|
132
|
|
133
|
133
|
if [ -d /var/www/${domain_name}/htdocs/static ]; then
|
134
|
134
|
cp bg_custom.${ext} static/bg_custom.${ext}
|
|
135
|
+ chown www-data:www-data static/bg_custom.${ext}
|
135
|
136
|
sed -i "s|\"background\":.*|\"background\": \"/static/bg_custom.${ext}\",|g" static/config.json
|
136
|
137
|
fi
|
137
|
138
|
|