From 594dc7e19ca081d6ea3a309dd303dcb6659572df Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 9 Apr 2024 20:27:12 -0400 Subject: [PATCH] Update linkwarden-install.sh tweak --- install/linkwarden-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/linkwarden-install.sh b/install/linkwarden-install.sh index 6ad52ab0..c01c289f 100644 --- a/install/linkwarden-install.sh +++ b/install/linkwarden-install.sh @@ -70,6 +70,8 @@ if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then fi msg_info "Installing Linkwarden (Patience)" +RELEASE=$(curl -s https://api.github.com/repos/linkwarden/linkwarden/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') +echo "${RELEASE}" >/opt/${APPLICATION}_version.txt $STD yarn $STD npx playwright install-deps IP=$(hostname -I | awk '{print $1}')