From d616bc09fdba96ec3b87d79b634967c25380d91f Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 15 Feb 2026 20:48:26 +0100 Subject: [PATCH] fix unbound variable (tmp) --- scripts/raspberry-pi/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/raspberry-pi/install.sh b/scripts/raspberry-pi/install.sh index 9fb690b..47998d1 100644 --- a/scripts/raspberry-pi/install.sh +++ b/scripts/raspberry-pi/install.sh @@ -28,7 +28,7 @@ set -euo pipefail # - Safe to re-run; it will update binary/config/unit and restart the service. # ============================================================================== -VERSION="${1:-${VERSION:-v0.18.1}}" +VERSION="${1:-${VERSION:-v0.24.0}}" # Normalize version prefix if [[ ! "$VERSION" =~ ^v ]]; then VERSION="v${VERSION}" @@ -141,7 +141,7 @@ ensure_dirs() { } download_binary() { - local asset url tmp + local asset url tmp="" asset="${ARCH_ASSET:-$(detect_arch_asset)}" url="$(download_url_for "$asset")"