Commit graph

6 commits

Author SHA1 Message Date
amir-climy
1c559e483b fix(uninstall): remove interactive confirmation that breaks curl-pipe installs
--purge-data is already an explicit opt-in; the read prompt causes
'error: aborted' when stdin has no TTY (curl | sudo bash).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 09:15:58 +08:00
github-actions[bot]
4057cebb27 chore: sync installers from triton v1.0.0-rc.1 2026-05-20 15:01:09 +00:00
amir-climy
d67086ccd8 fix(uninstall): remove interactive confirmation for --purge-data
The read prompt reads EOF when invoked via curl pipe, causing an
immediate abort. The --purge-data flag is explicit enough to serve
as confirmation — no secondary prompt needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 19:54:40 +08:00
amir-climy
8ed781a6c1 fix(uninstall): remove cached container image on uninstall
Without image removal, reinstalling reuses the old cached image even if
a newer one is available. Read TRITON_MANAGE_IMAGE from .env (falling back
to :latest) and rmi it after stopping containers.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 19:52:16 +08:00
amir-climy
f1cec6ac33 fix(scripts): handle BASH_SOURCE[0] unbound when piped via curl
BASH_SOURCE[0] is unset when a script runs via `curl | bash` (no source
file on disk). With `set -u` this triggers "unbound variable" and exits.
Fall back to $0 with ${BASH_SOURCE[0]:-$0} so piped execution works.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 19:38:47 +08:00
Amir Yahaya
92b0eeec90 feat: initial installer scripts for manage server and license server 2026-05-17 08:57:58 +02:00