searx permissions
This commit is contained in:
parent
48d3fd0e3c
commit
0e3be0dcee
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue