1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-27 18:30:17 +00:00

Element Synapse: Fix install script cd command error (#4066)

* 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>
This commit is contained in:
George Liu 2025-04-25 18:36:40 -07:00 committed by GitHub
parent 51c4eba520
commit 89bef0fb41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) }') 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" 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 tar xzf "$temp_file" -C /opt/synapse-admin --strip-components=1
cd /opt/synapse-adminsys cd /opt/synapse-admin
$STD yarn install --ignore-engines $STD yarn install --ignore-engines
msg_ok "Installed Element Synapse" msg_ok "Installed Element Synapse"