Switch logo within pleroma

This commit is contained in:
Bob Mottram 2017-03-25 18:19:39 +00:00
parent 4421c64357
commit bfeb35c89f
1 changed files with 4 additions and 4 deletions

View File

@ -70,11 +70,11 @@ function pleroma_set_background_image_from_url {
# customise the logo
if [ -f /var/www/${domain_name}/htdocs/static/logo.png ]; then
if [ -f ~/freedombone/img/logo_white_small.png ]; then
cp ~/freedombone/img/logo_white_small.png /var/www/${domain_name}/htdocs/static/logo.png
if [ -f ~/freedombone/img/logo_fbone3.png ]; then
cp ~/freedombone/img/logo_fbone3.png /var/www/${domain_name}/htdocs/static/logo.png
else
if [ -f /home/$MY_USERNAME/freedombone/img/logo_white_small.png ]; then
cp /home/$MY_USERNAME/freedombone/img/logo_white_small.png /var/www/${domain_name}/htdocs/static/logo.png
if [ -f /home/$MY_USERNAME/freedombone/img/logo_fbone3.png ]; then
cp /home/$MY_USERNAME/freedombone/img/logo_fbone3.png /var/www/${domain_name}/htdocs/static/logo.png
fi
fi
fi