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