From 2c3a3292608361ba79f175864504c924aecd4d8b Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 14 Nov 2023 07:50:39 -0500 Subject: [PATCH] Update homarr-install.sh --- install/homarr-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/homarr-install.sh b/install/homarr-install.sh index 01f7c9f1..fbf2790f 100644 --- a/install/homarr-install.sh +++ b/install/homarr-install.sh @@ -40,7 +40,7 @@ mkdir -p /opt/homarr RELEASE=$(curl -s https://api.github.com/repos/ajnart/homarr/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') wget -O- https://github.com/ajnart/homarr/archive/refs/tags/v${RELEASE}.tar.gz | $STD tar -xz -C /opt && mv /opt/homarr-${RELEASE}/* /opt/homarr cd /opt/homarr -cp -p /opt/homarr/.env.example /opt/homarr/.env +wget -q -O /opt/homarr/.env https://raw.githubusercontent.com/ajnart/homarr/dev/.env.example sed -i 's|NEXTAUTH_SECRET="[^"]*"|NEXTAUTH_SECRET="'"$(openssl rand -base64 32)"'"|' /opt/homarr/.env $STD yarn install $STD yarn build