Use stable raw/main URL for the install one-liner
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
9679e424fc
commit
796fa5fbd4
@@ -28,23 +28,17 @@ fallback.
|
||||
On a clean Ubuntu server, as **root**:
|
||||
|
||||
```bash
|
||||
# One-liner — pulls the installer from our Gitea, then runs it:
|
||||
bash <(wget -qO- https://git.ops01.hprx.zip/api/packages/seed/generic/xui-installer/1.0.0/install_xui.sh)
|
||||
# One-liner — pulls the latest installer from the Gitea repo, then runs it:
|
||||
bash <(wget -qO- https://git.ops01.hprx.zip/seed/xui_installer/raw/branch/main/install_xui.sh)
|
||||
|
||||
# Or locally:
|
||||
chmod +x install_xui.sh
|
||||
./install_xui.sh
|
||||
```
|
||||
|
||||
The script itself is published to the same Gitea generic registry. To update it,
|
||||
re-PUT a new version (bump `1.0.0`) and adjust the one-liner accordingly:
|
||||
|
||||
```bash
|
||||
curl -X PUT -H "Authorization: token <TOKEN>" \
|
||||
-H "Content-Type: application/octet-stream" \
|
||||
-T install_xui.sh \
|
||||
"https://git.ops01.hprx.zip/api/packages/seed/generic/xui-installer/<version>/install_xui.sh"
|
||||
```
|
||||
The installer lives in the Gitea repo **`seed/xui_installer`**. The `raw/branch/main`
|
||||
URL above always serves the latest committed version — just `git push` an update
|
||||
and the one-liner picks it up, no version bump needed.
|
||||
|
||||
## Mirror (where the package lives)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user