Another possible location for the gnusocial logo

This commit is contained in:
Bob Mottram 2016-11-01 14:42:36 +00:00
parent 3cc7373050
commit b95dc08873
1 changed files with 4 additions and 0 deletions

View File

@ -940,6 +940,10 @@ function install_gnusocial_theme {
if [ -f /var/www/$GNUSOCIAL_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/$GNUSOCIAL_DOMAIN_NAME/htdocs/local/plugins/Qvitter/img/sprite.png
else
if [ -f /home/$MY_USERNAME/freedombone/img/gnusocial_sprite.png ]; then
cp /home/$MY_USERNAME/freedombone/img/gnusocial_sprite.png /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/local/plugins/Qvitter/img/sprite.png
fi
fi
fi