diff --git a/src/freedombone b/src/freedombone index cab86d09..b53c01e3 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8897,6 +8897,13 @@ function install_gnu_social_theme { # update to the next commit set_repo_commit /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Qvitter "GNU Social theme commit" "$MICROBLOG_THEME_COMMIT" $MICROBLOG_THEME_REPO + # customise with project logo + if [ -f /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Qvitter/img/sprite.png ]; then + if [ -f ~/freedombone/img/gnusocial_sprite.png ]; then + cp ~/freedombone/img/gnusocial_sprite.png /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Qvitter/img/sprite.png + fi + fi + if grep -Fxq "install_gnu_social_theme" $COMPLETION_FILE; then return fi @@ -8967,6 +8974,13 @@ function install_gnu_social_theme { fi fi + # customise with project logo + if [ -f /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Qvitter/img/sprite.png ]; then + if [ -f ~/freedombone/img/gnusocial_sprite.png ]; then + cp ~/freedombone/img/gnusocial_sprite.png /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Qvitter/img/sprite.png + fi + fi + if ! grep -q "GNU Social theme commit" $COMPLETION_FILE; then echo "GNU Social theme commit:$MICROBLOG_THEME_COMMIT" >> $COMPLETION_FILE fi