diff --git a/src/freedombone-app-searx b/src/freedombone-app-searx index a8205161..614e7866 100755 --- a/src/freedombone-app-searx +++ b/src/freedombone-app-searx @@ -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 {