Switch logo within pleroma
This commit is contained in:
parent
4421c64357
commit
bfeb35c89f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue