diff --git a/install/homarr-install.sh b/install/homarr-install.sh index b6e23993..958dc10e 100644 --- a/install/homarr-install.sh +++ b/install/homarr-install.sh @@ -39,7 +39,7 @@ msg_info "Installing Homarr (Patience)" git clone -q https://github.com/ajnart/homarr.git /opt/homarr cd /opt/homarr cp -p /opt/homarr/.env.example /opt/homarr/.env -sed -i 's/NEXTAUTH_SECRET="[^"]*"/NEXTAUTH_SECRET="'"$(openssl rand -base64 32)"'"/' /opt/homarr/.env +sed -i 's|NEXTAUTH_SECRET="[^"]*"|NEXTAUTH_SECRET="'"$(openssl rand -base64 32)"'"|' /opt/homarr/.env $STD yarn install $STD yarn build $STD yarn db:migrate