Skip to content

Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.

fix(website): deploy channel-suffixed PATH marker installer

Salman Qureshib4ec8c61fe87
diff --git a/docs/install.sh b/docs/install.sh
index 930486e3..6a1e0a46 100755
--- a/docs/install.sh
+++ b/docs/install.sh
@@ -163,7 +163,10 @@ maybe_update_path() {
case ":$PATH:" in *":$bin_dir:"*) return 0 ;; esac
rc=$(shell_rc_file)
- marker='# added by mercury installer'
+ # Channel-suffixed sentinel: stable and dev installs must not shadow each
+ # other's rc entries — a shared marker made the second channel's PATH
+ # append a silent no-op ("already present" while never adding its dir).
+ marker="# added by mercury installer ($CHANNEL)"
if [ -f "$rc" ] && grep -Fq "$marker" "$rc" 2>/dev/null; then
info "PATH entry already present in $(basename "$rc")"
return 0