fix(install): rename install directory from triton-manage-server to triton-manageserver

Aligns the install directory path with the container image name.
Linux: /opt/triton-manageserver
macOS: ~/.local/share/triton-manageserver

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
amir-climy 2026-05-21 23:28:09 +08:00
parent 3fe9fe6057
commit 2c3c2c2863

10
get.sh
View file

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# get.sh — One-line bootstrapper for Triton Manage Server. # get.sh — One-line bootstrapper for Triton Manage Server.
# #
# Downloads the installer to /opt/triton-manage-server (Linux) or # Downloads the installer to /opt/triton-manageserver (Linux) or
# ~/.local/share/triton-manage-server (macOS), installs Podman if needed, # ~/.local/share/triton-manageserver (macOS), installs Podman if needed,
# then hands off to install.sh. # then hands off to install.sh.
# #
# Usage: # Usage:
@ -18,7 +18,7 @@
# #
# Upgrade to a specific image tag: # Upgrade to a specific image tag:
# curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh \ # curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh \
# | sudo bash -s -- --upgrade --image ghcr.io/primatekuntech/triton-manage-server:1.2.0 # | sudo bash -s -- --upgrade --image ghcr.io/primatekuntech/triton-manageserver:1.2.0
# #
# Uninstall (stop containers, keep data): # Uninstall (stop containers, keep data):
# curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh \ # curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh \
@ -63,9 +63,9 @@ esac
# ── install directory ───────────────────────────────────────────────────── # ── install directory ─────────────────────────────────────────────────────
if [[ "$PLATFORM" == "linux" ]]; then if [[ "$PLATFORM" == "linux" ]]; then
INSTALL_DIR="/opt/triton-manage-server" INSTALL_DIR="/opt/triton-manageserver"
else else
INSTALL_DIR="${HOME}/.local/share/triton-manage-server" INSTALL_DIR="${HOME}/.local/share/triton-manageserver"
fi fi
# ── uninstall shortcut ──────────────────────────────────────────────────── # ── uninstall shortcut ────────────────────────────────────────────────────