Recompile after background change

This commit is contained in:
Bob Mottram 2017-11-06 20:37:15 +00:00
parent ef7c88d310
commit 0b47e814e7
1 changed files with 1 additions and 0 deletions

View File

@ -284,6 +284,7 @@ function pleroma_set_background_image {
PLEROMA_BACKGROUND_IMAGE_URL="$temp_background"
write_config_param "PLEROMA_BACKGROUND_IMAGE_URL" "$PLEROMA_BACKGROUND_IMAGE_URL"
if [[ $(pleroma_set_background_image_from_url $PLEROMA_DIR "$PLEROMA_DOMAIN_NAME" "$PLEROMA_BACKGROUND_IMAGE_URL" "$PLEROMA_TITLE" | tail -n 1) == "0" ]]; then
pleroma_recompile
dialog --title $"Set Pleroma login background" \
--msgbox $"The background image has been set" 6 60
fi