From 0e3be0dceed38b97979d236d1ed753667a379d62 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 16 Apr 2017 15:09:08 +0100 Subject: [PATCH] searx permissions --- src/freedombone-app-searx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone-app-searx b/src/freedombone-app-searx index 7e7969f3..eb54220e 100755 --- a/src/freedombone-app-searx +++ b/src/freedombone-app-searx @@ -51,9 +51,11 @@ searx_variables=(SEARX_REPO function searx_set_default_background { if [ -f ~/freedombone/img/backgrounds/searx.jpg ]; then cp ~/freedombone/img/backgrounds/searx.jpg /etc/searx/searx/static/themes/courgette/img/bg-body-index.jpg + chown -R searx:searx ${SEARX_PATH}/searx else if [ -f /home/$MY_USERNAME/freedombone/img/backgrounds/searx.jpg ]; then cp /home/$MY_USERNAME/freedombone/img/backgrounds/searx.jpg /etc/searx/searx/static/themes/courgette/img/bg-body-index.jpg + chown -R searx:searx ${SEARX_PATH}/searx fi fi }