Always update/clone repo before running Unraid template generation

This commit is contained in:
J0Z1L 2026-02-27 23:57:00 +01:00
parent 1f75bb76de
commit 111c181e3a

View file

@ -6,7 +6,6 @@ set -euo pipefail
SCRIPT_PATH="$(cd "$(dirname "$0")" && pwd)/$(basename "$0")"
SCRIPT_DIR="$(cd "$(dirname "${SCRIPT_PATH}")" && pwd)"
LOCAL_RUN_SCRIPT="${SCRIPT_DIR}/scripts/run-unraid.sh"
INSTALL_DIR="${INSTALL_DIR:-${SCRIPT_DIR}}"
REPO_URL="${REPO_URL:-https://forgejo.tailef61c0.ts.net/openclaw/lidarr-spotify-frontend.git}"
@ -31,7 +30,7 @@ is_allowed_bootstrap_file() {
esac
}
if [[ "${START_BOOTSTRAPPED:-0}" != "1" && ! -f "${LOCAL_RUN_SCRIPT}" ]]; then
if [[ "${START_BOOTSTRAPPED:-0}" != "1" ]]; then
if ! command -v git >/dev/null 2>&1; then
echo "Fehler: git wurde nicht gefunden."
exit 1