Update tools.func

This commit is contained in:
Tobias 2025-05-09 20:14:04 +02:00 committed by GitHub
parent 81c2169288
commit e8eb17f5b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -506,7 +506,7 @@ install_mongodb() {
fetch_and_deploy_gh_release() {
local repo="$1"
local app=$(echo ${APPLICATION,,} | tr -d ' ')
local app=${APP:-$(echo "${APPLICATION,,}" | tr -d ' ')}
local api_url="https://api.github.com/repos/$repo/releases/latest"
local header=()
local attempt=0
@ -676,6 +676,7 @@ fetch_and_deploy_gh_release() {
rm -rf "$tmpdir"
}
setup_local_ip_helper() {
local BASE_DIR="/usr/local/community-scripts/ip-management"
local SCRIPT_PATH="$BASE_DIR/update_local_ip.sh"