Refactor: Linkwarden + OS Upgrade (#4756)

* Refactor: Linkwarden + OS Upgrade

* update fetch_and_deploy function

* Update linkwarden.sh
This commit is contained in:
CanbiZ
2025-05-28 10:30:33 +02:00
committed by GitHub
parent 7079f428ca
commit a7bf2679de
4 changed files with 29 additions and 78 deletions

View File

@@ -684,7 +684,8 @@ install_mongodb() {
fetch_and_deploy_gh_release() {
local repo="$1"
local app=${APP:-$(echo "${APPLICATION,,}" | tr -d ' ')}
local raw_app="${APP:-$APPLICATION}"
local app=$(echo "${raw_app,,}" | tr -d ' ')
local api_url="https://api.github.com/repos/$repo/releases/latest"
local header=()
local attempt=0