Update linkwarden-install.sh

tweak
This commit is contained in:
tteckster 2024-04-09 20:27:12 -04:00 committed by GitHub
parent f77d5f01fb
commit 594dc7e19c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
fi fi
msg_info "Installing Linkwarden (Patience)" 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 yarn
$STD npx playwright install-deps $STD npx playwright install-deps
IP=$(hostname -I | awk '{print $1}') IP=$(hostname -I | awk '{print $1}')