From b26c43870728e0d853e282b40e6eebf09427e46f Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 20 May 2025 09:11:42 +0200 Subject: [PATCH] Update build.func --- misc/build.func | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/build.func b/misc/build.func index 5f2f82e..6c676cb 100644 --- a/misc/build.func +++ b/misc/build.func @@ -1077,15 +1077,16 @@ EOF' msg_ok "Customized LXC Container" # Remote-Skript innerhalb des Containers mit Trap sauber ausführen - lxc-attach -n "$CTID" -- bash -c ' + lxc-attach -n "$CTID" -- env var_install="$var_install" bash -c ' set -e trap "echo Aborted in container; exit 130" SIGINT SIGTERM tmp_script="/tmp/install_remote.sh" - curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/install/'"$var_install"'.sh -o "$tmp_script" + curl -fsSL "https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/install/${var_install}.sh" -o "$tmp_script" chmod +x "$tmp_script" bash "$tmp_script" ' + exit_code=$? if [[ "$exit_code" -eq 130 || "$exit_code" -eq 143 ]]; then echo