Move the github ribbon

This commit is contained in:
Bob Mottram 2017-04-16 17:50:22 +01:00
parent 20f33b5b82
commit 25f49664f7
1 changed files with 7 additions and 0 deletions

View File

@ -60,6 +60,10 @@ function searx_set_default_background {
chown -R searx:searx ${SEARX_PATH}/searx
fi
fi
if [ -f /etc/searx/searx/static/themes/courgette/img/github_ribbon.png ]; then
mv /etc/searx/searx/static/themes/courgette/img/github_ribbon.png /etc/searx/searx/static/themes/courgette/img/github_ribbon.png.old
fi
}
function searx_set_background_image_from_url {
@ -739,6 +743,9 @@ function upgrade_searx {
cp ${settings_file}.prev ${settings_file}
chown -R searx:searx ${SEARX_PATH}/searx
fi
if [ -f /etc/searx/searx/static/themes/courgette/img/github_ribbon.png ]; then
mv /etc/searx/searx/static/themes/courgette/img/github_ribbon.png /etc/searx/searx/static/themes/courgette/img/github_ribbon.png.old
fi
}
function backup_local_searx {