Bob Mottram 8 anni fa
parent
commit
0e3be0dcee
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2
    0
      src/freedombone-app-searx

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

51
 function searx_set_default_background {
51
 function searx_set_default_background {
52
     if [ -f ~/freedombone/img/backgrounds/searx.jpg ]; then
52
     if [ -f ~/freedombone/img/backgrounds/searx.jpg ]; then
53
         cp ~/freedombone/img/backgrounds/searx.jpg /etc/searx/searx/static/themes/courgette/img/bg-body-index.jpg
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
     else
55
     else
55
         if [ -f /home/$MY_USERNAME/freedombone/img/backgrounds/searx.jpg ]; then
56
         if [ -f /home/$MY_USERNAME/freedombone/img/backgrounds/searx.jpg ]; then
56
             cp /home/$MY_USERNAME/freedombone/img/backgrounds/searx.jpg /etc/searx/searx/static/themes/courgette/img/bg-body-index.jpg
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
         fi
59
         fi
58
     fi
60
     fi
59
 }
61
 }