invert logic
This commit is contained in:
parent
11c4ae7f8e
commit
5243ab9a2b
|
@ -264,7 +264,7 @@ function gnusocial_set_background_image_from_url {
|
||||||
return
|
return
|
||||||
fi
|
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
|
sed -i "s|'img/custom.*|'img/custom.${GNUSOCIAL_BACKGROUND_IMAGE_URL_EXT}';|g" $gnusocial_config_file
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue