invert logic

This commit is contained in:
Bob Mottram 2016-10-20 21:38:15 +01:00
parent 11c4ae7f8e
commit 5243ab9a2b
1 changed files with 1 additions and 1 deletions

View File

@ -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
fi
fi