Browse Source

Ensure that GS/pA background is set

Bob Mottram 7 years ago
parent
commit
d724d433fc
2 changed files with 8 additions and 0 deletions
  1. 4
    0
      src/freedombone-app-gnusocial
  2. 4
    0
      src/freedombone-app-postactiv

+ 4
- 0
src/freedombone-app-gnusocial View File

@@ -819,6 +819,10 @@ function install_gnusocial {
819 819
     # And doesn't forget logins
820 820
     gnusocial_use_qvitter gnusocial
821 821
 
822
+    if [ $GNUSOCIAL_BACKGROUND_IMAGE_URL ]; then
823
+        pleroma_set_background_image_from_url "$GNUSOCIAL_DOMAIN_NAME" "$GNUSOCIAL_BACKGROUND_IMAGE_URL" "$GNUSOCIAL_TITLE"
824
+    fi
825
+
822 826
     APP_INSTALLED=1
823 827
 }
824 828
 

+ 4
- 0
src/freedombone-app-postactiv View File

@@ -836,6 +836,10 @@ function install_postactiv {
836 836
     # And doesn't forget logins
837 837
     gnusocial_use_qvitter postactiv
838 838
 
839
+    if [ $POSTACTIV_BACKGROUND_IMAGE_URL ]; then
840
+        pleroma_set_background_image_from_url "$POSTACTIV_DOMAIN_NAME" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE"
841
+    fi
842
+
839 843
     APP_INSTALLED=1
840 844
 }
841 845