@@ -264,7 +264,7 @@ function gnusocial_set_background_image_from_url {
return
fi
- if ! grep -q "'img/custom" $gnusocial_config_file; then
+ if grep -q "'img/custom" $gnusocial_config_file; then
sed -i "s|'img/custom.*|'img/custom.${GNUSOCIAL_BACKGROUND_IMAGE_URL_EXT}';|g" $gnusocial_config_file