From 89bef0fb41a3250efbb1eda07509e39f5a39f493 Mon Sep 17 00:00:00 2001 From: George Liu <31437427+thegeorgeliu@users.noreply.github.com> Date: Fri, 25 Apr 2025 18:36:40 -0700 Subject: [PATCH] Element Synapse: Fix install script cd command error (#4066) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix cd directory * Point to forked repo for testing * Point ct script to forked repo for testing * Revert paths from fork back to base * Update install/elementsynapse-install.sh --------- Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com> --- install/elementsynapse-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/elementsynapse-install.sh b/install/elementsynapse-install.sh index c73eec6aa..6e33445c0 100644 --- a/install/elementsynapse-install.sh +++ b/install/elementsynapse-install.sh @@ -64,7 +64,7 @@ mkdir -p /opt/synapse-admin RELEASE=$(curl -fsSL https://api.github.com/repos/etkecc/synapse-admin/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') curl -fsSL "https://github.com/etkecc/synapse-admin/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file" tar xzf "$temp_file" -C /opt/synapse-admin --strip-components=1 -cd /opt/synapse-adminsys +cd /opt/synapse-admin $STD yarn install --ignore-engines msg_ok "Installed Element Synapse"