Customise gnusocial theme with project logo
This commit is contained in:
parent
bd436b9ffa
commit
59e5b8ac8e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue