Move the github ribbon
This commit is contained in:
parent
20f33b5b82
commit
25f49664f7
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue