Possibility for separate pleroma default css
This commit is contained in:
parent
b80a55c357
commit
e71d2a1d6f
|
@ -985,6 +985,7 @@ function install_gnusocial {
|
|||
install_nodejs pleroma-gnusocial
|
||||
install_pleroma "gnusocial" "$GNUSOCIAL_DOMAIN_NAME" "$GNUSOCIAL_BACKGROUND_IMAGE_URL" "$GNUSOCIAL_TITLE"
|
||||
install_gnusocial_default_background "gnusocial" "$GNUSOCIAL_DOMAIN_NAME"
|
||||
sed -i 's|"theme":.*|"theme": "base16-apathy.css",|g' /var/www/${GNUSOCIAL_DOMAIN_NAME}/htdocs/static/config.json
|
||||
fi
|
||||
|
||||
# unleash the daemons!
|
||||
|
|
|
@ -769,6 +769,7 @@ function install_postactiv {
|
|||
install_nodejs pleroma-gnusocial
|
||||
install_pleroma "postactiv" "$POSTACTIV_DOMAIN_NAME" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE"
|
||||
install_gnusocial_default_background "postactiv" "$POSTACTIV_DOMAIN_NAME"
|
||||
sed -i 's|"theme":.*|"theme": "base16-apathy.css",|g' /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/static/config.json
|
||||
fi
|
||||
|
||||
expire_gnusocial_posts "$POSTACTIV_DOMAIN_NAME" "postactiv" "$POSTACTIV_EXPIRE_MONTHS"
|
||||
|
|
|
@ -247,7 +247,6 @@ function install_pleroma {
|
|||
mv /var/www/${pleroma_domain}/htdocs/index.php /var/www/${pleroma_domain}/htdocs/index_qvitter.php
|
||||
fi
|
||||
sed -i 's|index.php|index_qvitter.php|g' $nginx_site
|
||||
sed -i 's|"theme":.*|"theme": "base16-apathy.css",|g' /var/www/${pleroma_domain}/htdocs/static/config.json
|
||||
|
||||
chown -R www-data:www-data /var/www/${pleroma_domain}/htdocs
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue