Browse Source

searx permissions

Bob Mottram 8 years ago
parent
commit
0e3be0dcee
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone-app-searx

+ 2
- 0
src/freedombone-app-searx View File

@@ -51,9 +51,11 @@ searx_variables=(SEARX_REPO
51 51
 function searx_set_default_background {
52 52
     if [ -f ~/freedombone/img/backgrounds/searx.jpg ]; then
53 53
         cp ~/freedombone/img/backgrounds/searx.jpg /etc/searx/searx/static/themes/courgette/img/bg-body-index.jpg
54
+        chown -R searx:searx ${SEARX_PATH}/searx
54 55
     else
55 56
         if [ -f /home/$MY_USERNAME/freedombone/img/backgrounds/searx.jpg ]; then
56 57
             cp /home/$MY_USERNAME/freedombone/img/backgrounds/searx.jpg /etc/searx/searx/static/themes/courgette/img/bg-body-index.jpg
58
+            chown -R searx:searx ${SEARX_PATH}/searx
57 59
         fi
58 60
     fi
59 61
 }