From aac374f5056502a7c516110aae3708fa1d1dcd6d Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Tue, 16 Mar 2021 17:07:52 +0100 Subject: [PATCH] searx installer: remove whitespaces --- searx/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/install.sh b/searx/install.sh index ba7af9b..7f6687a 100755 --- a/searx/install.sh +++ b/searx/install.sh @@ -10,9 +10,9 @@ systemctl start docker cd /usr/local/ git clone https://github.com/searx/searx-docker.git cd searx-docker/ -sed -i "/SEARX_HOSTNAME/ s/^#//" .env +sed -iE "/SEARX_HOSTNAME/ s/^#\s*//" .env sed -i "/SEARX_HOSTNAME/ s/=.*/=searx.codehal.de/" .env -sed -i "/LETSENCRYPT_EMAIL/ s/^#//" .env +sed -iE "/LETSENCRYPT_EMAIL/ s/^#\s*//" .env sed -i "/LETSENCRYPT_EMAIL/ s/=.*/=webmaster@codehal.de/" .env key=$(openssl rand -hex 22) sed -i "/MORTY_KEY/ s/=.*/=$key/" .env