Skip to content
Snippets Groups Projects
Commit c5bd0011 authored by Bob Mottram's avatar Bob Mottram
Browse files

Check that directory exists

parent aa4c5c75
No related branches found
No related tags found
No related merge requests found
......@@ -764,6 +764,11 @@ EOF
create_searx_config
searx_set_default_background
if [ ! -f "${SEARX_PATH}/searx" ]; then
echo $'Failed to install search'
return
fi
if [ "$rootdir" ]; then
chroot "$rootdir" chown -R searx:searx "${SEARX_PATH}/searx"
chroot "$rootdir" systemctl enable searx.service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment