From 2441df8ac974d8991ba6c9b4b7f4ace63f2a247e Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 6 Jul 2026 18:18:28 +0200 Subject: [PATCH] Clean up comments in forgejo-runner.sh Removed comments regarding unattended mode checks and app-specific variables. --- ct/forgejo-runner.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ct/forgejo-runner.sh b/ct/forgejo-runner.sh index efd587bc9..218b9733e 100644 --- a/ct/forgejo-runner.sh +++ b/ct/forgejo-runner.sh @@ -1,6 +1,5 @@ #!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) - # Copyright (c) 2021-2026 community-scripts ORG # Author: Simon Friedrich (lengschder97) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -18,8 +17,6 @@ var_unprivileged="${var_unprivileged:-1}" var_nesting="${var_nesting:-1}" var_keyctl="${var_keyctl:-1}" -# App-specific variables (not in build.func whitelist) -# Export so they survive lxc-attach into the container export var_forgejo_instance="${var_forgejo_instance:-}" export var_forgejo_runner_token="${var_forgejo_runner_token:-}" export var_runner_labels="${var_runner_labels:-}" @@ -62,9 +59,6 @@ function update_script() { exit } -# Fail early if running unattended without required values -# mode is only set when the user explicitly passes it (automating); -# bare "bash -c $(curl ...)" leaves mode empty and shows the whiptail menu if [[ -n "${mode:-}" ]]; then if [[ -z "${var_forgejo_instance:-}" ]]; then msg_error "var_forgejo_instance is required for unattended installs."