fix: add auth headers to all Linux .sh gitea downloads
- gemini/ugemini_install.sh: CURL_AUTH was defined but never used, fixed - gemini/ugemini_update.sh: added GITEA_TOKEN + auth header - qwen/uqwen_install.sh: use GITEA_TOKEN (was already defined but unused) - qwen/uqwen_update.sh: added GITEA_TOKEN + auth header Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -79,8 +79,9 @@ cleanup() { rm -rf "$TEMP_DIR" 2>/dev/null || true; }
|
||||
trap cleanup EXIT
|
||||
|
||||
info "Downloading patcher..."
|
||||
curl -fsSL "$REPO_RAW/qwen_patcher.py" -o "$TEMP_DIR/qwen_patcher.py"
|
||||
curl -fsSL "$REPO_RAW/qwen_config.json" -o "$TEMP_DIR/qwen_config.json"
|
||||
GITEA_TOKEN="${GITEA_TOKEN:-cadffcb0a6a3be728ac1ff619bb40c86588f6837}"
|
||||
curl -fsSL -H "Authorization: token ${GITEA_TOKEN}" "$REPO_RAW/qwen_patcher.py" -o "$TEMP_DIR/qwen_patcher.py"
|
||||
curl -fsSL -H "Authorization: token ${GITEA_TOKEN}" "$REPO_RAW/qwen_config.json" -o "$TEMP_DIR/qwen_config.json"
|
||||
|
||||
info "Applying patches..."
|
||||
python3 "$TEMP_DIR/qwen_patcher.py" --settings-only --config "$TEMP_DIR/qwen_config.json"
|
||||
|
||||
Reference in New Issue
Block a user