test background change
This commit is contained in:
parent
8eebb4f489
commit
417a6fed14
|
@ -240,10 +240,9 @@ 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
|
||||
dialog --title $"Set PostActiv background" \
|
||||
--msgbox $"The background image has been set" 6 60
|
||||
fi
|
||||
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
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue