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
|
if [ ${#temp_background} -gt 0 ]; then
|
||||||
POSTACTIV_BACKGROUND_IMAGE_URL="$temp_background"
|
POSTACTIV_BACKGROUND_IMAGE_URL="$temp_background"
|
||||||
write_config_param "POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_BACKGROUND_IMAGE_URL"
|
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" \
|
dialog --title $"Set PostActiv background" \
|
||||||
--msgbox $"The background image has been set" 6 60
|
--msgbox $"The background image has been set" 6 60
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue