From e8848c1641d66e4a1e01ea68499445b35335c780 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 24 Jun 2025 15:34:53 +0200 Subject: [PATCH] templ fix - gomft --- install/gomft-install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install/gomft-install.sh b/install/gomft-install.sh index 2d84ef014..c1eaa4a2f 100644 --- a/install/gomft-install.sh +++ b/install/gomft-install.sh @@ -32,7 +32,12 @@ curl -fsSL "https://github.com/StarFleetCPTN/GoMFT/archive/refs/tags/v${RELEASE} tar -xzf "$temp_file" mv GoMFT-"${RELEASE}"/ /opt/gomft cd /opt/gomft -$STD go install github.com/a-h/templ/cmd/templ@latest +TEMPL_VERSION="$(awk '/github.com\/a-h\/templ/{print $2}' go.mod)" +$STD go install github.com/a-h/templ/cmd/templ@v${TEMPL_VERSION} +cp /opt/gomft/components/file_metadata/search/file_metadata_search_content.templ{,.bak} +sed -i -e '/