test background change
This commit is contained in:
parent
8eebb4f489
commit
417a6fed14
|
@ -240,11 +240,10 @@ function postactiv_set_background_image {
|
|||
if [ ${#temp_background} -gt 0 ]; then
|
||||
POSTACTIV_BACKGROUND_IMAGE_URL="$temp_background"
|
||||
write_config_param "POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_BACKGROUND_IMAGE_URL"
|
||||
if [[ $(pleroma_set_background_image_from_url "$POSTACTIV_DOMAIN_NAME" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE" | tail -n 1) == "0" ]]; then
|
||||
pleroma_set_background_image_from_url "$POSTACTIV_DOMAIN_NAME" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE"
|
||||
dialog --title $"Set PostActiv background" \
|
||||
--msgbox $"The background image has been set" 6 60
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue