Recompile after background change
This commit is contained in:
parent
ef7c88d310
commit
0b47e814e7
|
@ -284,6 +284,7 @@ function pleroma_set_background_image {
|
||||||
PLEROMA_BACKGROUND_IMAGE_URL="$temp_background"
|
PLEROMA_BACKGROUND_IMAGE_URL="$temp_background"
|
||||||
write_config_param "PLEROMA_BACKGROUND_IMAGE_URL" "$PLEROMA_BACKGROUND_IMAGE_URL"
|
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
|
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" \
|
dialog --title $"Set Pleroma login background" \
|
||||||
--msgbox $"The background image has been set" 6 60
|
--msgbox $"The background image has been set" 6 60
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue