From bc6b4d51f978c05f4991b89b15ac1c5cf115bd77 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 14 Nov 2023 08:21:09 -0500 Subject: [PATCH] Update homarr-install.sh tweak --- 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 fbd6c11e..94a4d760 100644 --- a/install/homarr-install.sh +++ b/install/homarr-install.sh @@ -39,7 +39,7 @@ msg_info "Installing Homarr (Patience)" 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 -q -O- https://github.com/ajnart/homarr/archive/refs/tags/v${RELEASE}.tar.gz | $STD tar -xz -C /opt && mv /opt/homarr-${RELEASE}/* /opt/homarr -rm -rf /opt/homarr-0.14.0 +rm -rf /opt/homarr-${RELEASE} cd /opt/homarr 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