diff --git a/src/freedombone-utils-gnusocialtools b/src/freedombone-utils-gnusocialtools index 97d223ff..7f30fa77 100755 --- a/src/freedombone-utils-gnusocialtools +++ b/src/freedombone-utils-gnusocialtools @@ -131,9 +131,8 @@ function pleroma_set_background_image_from_url { fi if [ -d /var/www/${domain_name}/htdocs/static ]; then - cd /var/www/${domain_name}/htdocs/static - cp ../bg_custom.${ext} bg_custom.${ext} - sed -i "s|\"background\":.*|\"background\": \"/static/bg_custom.${ext}\",|g" config.json + cp bg_custom.${ext} static/bg_custom.${ext} + sed -i "s|\"background\":.*|\"background\": \"/static/bg_custom.${ext}\",|g" static/config.json fi qvitter_update_background ${domain_name} ${ext}