From d724d433fc4bad8598a6e7fda99e2171cce7e9d1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 18 Jun 2017 13:26:49 +0100 Subject: [PATCH] Ensure that GS/pA background is set --- src/freedombone-app-gnusocial | 4 ++++ src/freedombone-app-postactiv | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index af3ab219..425ad588 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -819,6 +819,10 @@ function install_gnusocial { # And doesn't forget logins gnusocial_use_qvitter gnusocial + if [ $GNUSOCIAL_BACKGROUND_IMAGE_URL ]; then + pleroma_set_background_image_from_url "$GNUSOCIAL_DOMAIN_NAME" "$GNUSOCIAL_BACKGROUND_IMAGE_URL" "$GNUSOCIAL_TITLE" + fi + APP_INSTALLED=1 } diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index 1fe1fe84..e36f76ee 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -836,6 +836,10 @@ function install_postactiv { # And doesn't forget logins gnusocial_use_qvitter postactiv + if [ $POSTACTIV_BACKGROUND_IMAGE_URL ]; then + pleroma_set_background_image_from_url "$POSTACTIV_DOMAIN_NAME" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE" + fi + APP_INSTALLED=1 }