Browse Source

Possibility for separate pleroma default css

Bob Mottram 8 years ago
parent
commit
e71d2a1d6f

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

@@ -985,6 +985,7 @@ function install_gnusocial {
985 985
         install_nodejs pleroma-gnusocial
986 986
         install_pleroma "gnusocial" "$GNUSOCIAL_DOMAIN_NAME" "$GNUSOCIAL_BACKGROUND_IMAGE_URL" "$GNUSOCIAL_TITLE"
987 987
         install_gnusocial_default_background "gnusocial" "$GNUSOCIAL_DOMAIN_NAME"
988
+        sed -i 's|"theme":.*|"theme": "base16-apathy.css",|g' /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/static/config.json
988 989
     fi
989 990
 
990 991
     # unleash the daemons!

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

@@ -769,6 +769,7 @@ function install_postactiv {
769 769
         install_nodejs pleroma-gnusocial
770 770
         install_pleroma "postactiv" "$POSTACTIV_DOMAIN_NAME" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE"
771 771
         install_gnusocial_default_background "postactiv" "$POSTACTIV_DOMAIN_NAME"
772
+        sed -i 's|"theme":.*|"theme": "base16-apathy.css",|g' /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/static/config.json
772 773
     fi
773 774
 
774 775
     expire_gnusocial_posts "$POSTACTIV_DOMAIN_NAME" "postactiv" "$POSTACTIV_EXPIRE_MONTHS"

+ 0
- 1
src/freedombone-utils-gnusocialtools View File

@@ -247,7 +247,6 @@ function install_pleroma {
247 247
         mv /var/www/${pleroma_domain}/htdocs/index.php /var/www/${pleroma_domain}/htdocs/index_qvitter.php
248 248
     fi
249 249
     sed -i 's|index.php|index_qvitter.php|g' $nginx_site
250
-    sed -i 's|"theme":.*|"theme": "base16-apathy.css",|g' /var/www/${pleroma_domain}/htdocs/static/config.json
251 250
 
252 251
     chown -R www-data:www-data /var/www/${pleroma_domain}/htdocs
253 252
 }