mirror of
https://github.com/andrey271192/PCA_Phobos.git
synced 2026-09-20 11:55:32 +00:00
fix: create patch fetch directories
This commit is contained in:
@@ -195,6 +195,7 @@ EOF
|
||||
# ── 6. PCA patches over onboarding scripts + server-side helpers ──
|
||||
echo "[6/9] PCA patches (tunnel-pull, self-heal, watchdog, 403 fix)..."
|
||||
fetch() {
|
||||
mkdir -p "$(dirname "$2")"
|
||||
if [ -n "$GH_TOKEN" ]; then
|
||||
curl -fsSL -m20 -H "Authorization: token $GH_TOKEN" "$RAW/$1" -o "$2" && return 0
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user