Ensure that GS/pA background is set

This commit is contained in:
Bob Mottram 2017-06-18 13:26:49 +01:00
parent a1939bb4cd
commit d724d433fc
2 changed files with 8 additions and 0 deletions

View File

@ -819,6 +819,10 @@ function install_gnusocial {
# And doesn't forget logins
gnusocial_use_qvitter gnusocial
if [ $GNUSOCIAL_BACKGROUND_IMAGE_URL ]; then
pleroma_set_background_image_from_url "$GNUSOCIAL_DOMAIN_NAME" "$GNUSOCIAL_BACKGROUND_IMAGE_URL" "$GNUSOCIAL_TITLE"
fi
APP_INSTALLED=1
}

View File

@ -836,6 +836,10 @@ function install_postactiv {
# And doesn't forget logins
gnusocial_use_qvitter postactiv
if [ $POSTACTIV_BACKGROUND_IMAGE_URL ]; then
pleroma_set_background_image_from_url "$POSTACTIV_DOMAIN_NAME" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE"
fi
APP_INSTALLED=1
}