|
@@ -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
|
}
|