Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

fix(install): keep bootstrap guard shellcheck-clean

Rahman3e6275b5e36d
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index acfa4f16..db947b5b 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -8,6 +8,7 @@ this is the *what*, and it is what Settings → About shows as “What's new”.
**Fixed**
+- `install` keep bootstrap guard shellcheck-clean
- `install` guard earliest bootstrap prefix
- `install` make bootstrap handoff truncation-safe
- `install` make one-line bootstrap atomic
diff --git a/scripts/install.sh b/scripts/install.sh
index 19b252a8..2f2b1dc7 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-trap 'rc=$?; trap - EXIT; [ -z "${TMP_INSTALLER:-}" ] || rm -f "$TMP_INSTALLER"; if [ "$rc" -eq 0 ]; then printf "mso installer bootstrap ended before verified-core handoff; retry the download.\n" >&2; rc=97; fi; exit "$rc"' EXIT
+trap 'case $? in 0) trap - EXIT; [ -z "${TMP_INSTALLER:-}" ] || rm -f "$TMP_INSTALLER"; printf "mso installer bootstrap ended before verified-core handoff; retry the download.\n" >&2; exit 97 ;; *) trap - EXIT; [ -z "${TMP_INSTALLER:-}" ] || rm -f "$TMP_INSTALLER"; exit 1 ;; esac' EXIT
# MSO one-line installer bootstrap.
#
# curl -fsSL https://raw.githubusercontent.com/rahmanef63/mso/main/scripts/install.sh | bash