searx installer: remove whitespaces

This commit is contained in:
Steffen Lange 2021-03-16 17:07:52 +01:00
parent 1ba4974925
commit aac374f505

View file

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