From 06193466039d49526408fd4d7b3d83fe30bb4aa8 Mon Sep 17 00:00:00 2001 From: rafa_99 Date: Sat, 16 Apr 2022 22:36:33 +0100 Subject: Added missing sudo --- searx/deploy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/deploy b/searx/deploy index 7981ce0..160d241 100755 --- a/searx/deploy +++ b/searx/deploy @@ -37,8 +37,8 @@ sudo -H cp -rf nginx/ /etc/ sudo -H sed -i -e "s:YOURIP:$(hostname -I | cut -d" " -f1):g" /etc/nginx/sites-available/searx sudo -H ln -s /etc/nginx/sites-available/searx /etc/nginx/sites-enabled/searx sudo -H rm -rf /etc/nginx/sites-enabled/default -sed -i s:"$(grep access_log /etc/nginx/nginx.conf | awk '{print $2}' )":\/dev\/null:g /etc/nginx/nginx.conf -sed -i s:"$(grep error_log /etc/nginx/nginx.conf | awk '{print $2}' )":\/dev\/null:g /etc/nginx/nginx.conf +sudo -H sed -i s:"$(grep access_log /etc/nginx/nginx.conf | awk '{print $2}' )":\/dev\/null:g /etc/nginx/nginx.conf +sudo -H sed -i s:"$(grep error_log /etc/nginx/nginx.conf | awk '{print $2}' )":\/dev\/null:g /etc/nginx/nginx.conf # SSL sudo -H mkdir -p /usr/local/searx/searx-src/certs -- cgit v1.2.3